diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-04-29 03:58:54 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-29 11:06:00 -0400 |
commit | 6b09ae66922ca198e5830c0a4d74400a507a9170 (patch) | |
tree | f434f8927f972e98637cc1cfdbc226d6f3c742de | |
parent | 8b1919a1e8b8968e0ac9030a4f14f0d2cd69e7cf (diff) |
make __put_super() static
Make the needlessly global __put_super() static.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | fs/super.c | 2 | ||||
-rw-r--r-- | include/linux/fs.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/fs/super.c b/fs/super.c index a5a4aca7e22f..453877c5697b 100644 --- a/fs/super.c +++ b/fs/super.c | |||
@@ -117,7 +117,7 @@ static inline void destroy_super(struct super_block *s) | |||
117 | * Drop a superblock's refcount. Returns non-zero if the superblock was | 117 | * Drop a superblock's refcount. Returns non-zero if the superblock was |
118 | * destroyed. The caller must hold sb_lock. | 118 | * destroyed. The caller must hold sb_lock. |
119 | */ | 119 | */ |
120 | int __put_super(struct super_block *sb) | 120 | static int __put_super(struct super_block *sb) |
121 | { | 121 | { |
122 | int ret = 0; | 122 | int ret = 0; |
123 | 123 | ||
diff --git a/include/linux/fs.h b/include/linux/fs.h index 2c925747bc49..1de9d72178e1 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
@@ -1521,7 +1521,6 @@ extern int get_sb_pseudo(struct file_system_type *, char *, | |||
1521 | const struct super_operations *ops, unsigned long, | 1521 | const struct super_operations *ops, unsigned long, |
1522 | struct vfsmount *mnt); | 1522 | struct vfsmount *mnt); |
1523 | extern int simple_set_mnt(struct vfsmount *mnt, struct super_block *sb); | 1523 | extern int simple_set_mnt(struct vfsmount *mnt, struct super_block *sb); |
1524 | int __put_super(struct super_block *sb); | ||
1525 | int __put_super_and_need_restart(struct super_block *sb); | 1524 | int __put_super_and_need_restart(struct super_block *sb); |
1526 | void unnamed_dev_init(void); | 1525 | void unnamed_dev_init(void); |
1527 | 1526 | ||