projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad6a1e1
)
sysfs: make sysfs_alloc_ino() static
author
Tejun Heo
<htejun@gmail.com>
Wed, 13 Jun 2007 18:45:17 +0000
(
03:45
+0900)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Wed, 11 Jul 2007 23:09:06 +0000
(16:09 -0700)
sysfs_alloc_ino() isn't used out side of fs/sysfs/dir.c. Make it
static.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/sysfs/dir.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/sysfs/dir.c
b/fs/sysfs/dir.c
index bc11a263aa53bf988a162f114b0f05cf691850ed..a63d12e4be5683ab6ceb932f21c21a2ff917066e 100644
(file)
--- a/
fs/sysfs/dir.c
+++ b/
fs/sysfs/dir.c
@@
-20,7
+20,7
@@
spinlock_t kobj_sysfs_assoc_lock = SPIN_LOCK_UNLOCKED;
static spinlock_t sysfs_ino_lock = SPIN_LOCK_UNLOCKED;
static DEFINE_IDA(sysfs_ino_ida);
-int sysfs_alloc_ino(ino_t *pino)
+
static
int sysfs_alloc_ino(ino_t *pino)
{
int ino, rc;