diff options
author | Tejun Heo <htejun@gmail.com> | 2007-06-13 14:45:17 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-07-11 19:09:06 -0400 |
commit | 42b37df6abb42ae021e15bf865b43f3629c7f3ab (patch) | |
tree | a6757acacf4e590318485df0e282f163a9cb1439 | |
parent | ad6a1e1c66009ba9dcd2f5c90ffa1fb4ce72fce0 (diff) |
sysfs: make sysfs_alloc_ino() static
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>
-rw-r--r-- | fs/sysfs/dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/sysfs/dir.c b/fs/sysfs/dir.c index bc11a263aa53..a63d12e4be56 100644 --- a/fs/sysfs/dir.c +++ b/fs/sysfs/dir.c | |||
@@ -20,7 +20,7 @@ spinlock_t kobj_sysfs_assoc_lock = SPIN_LOCK_UNLOCKED; | |||
20 | static spinlock_t sysfs_ino_lock = SPIN_LOCK_UNLOCKED; | 20 | static spinlock_t sysfs_ino_lock = SPIN_LOCK_UNLOCKED; |
21 | static DEFINE_IDA(sysfs_ino_ida); | 21 | static DEFINE_IDA(sysfs_ino_ida); |
22 | 22 | ||
23 | int sysfs_alloc_ino(ino_t *pino) | 23 | static int sysfs_alloc_ino(ino_t *pino) |
24 | { | 24 | { |
25 | int ino, rc; | 25 | int ino, rc; |
26 | 26 | ||