Commit 6b09ae66922ca198e5830c0a4d74400a507a9170

Authored by Adrian Bunk
Committed by Linus Torvalds
1 parent 8b1919a1e8

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>

Showing 2 changed files with 1 additions and 2 deletions Side-by-side Diff

... ... @@ -117,7 +117,7 @@
117 117 * Drop a superblock's refcount. Returns non-zero if the superblock was
118 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 122 int ret = 0;
123 123  
... ... @@ -1521,7 +1521,6 @@
1521 1521 const struct super_operations *ops, unsigned long,
1522 1522 struct vfsmount *mnt);
1523 1523 extern int simple_set_mnt(struct vfsmount *mnt, struct super_block *sb);
1524   -int __put_super(struct super_block *sb);
1525 1524 int __put_super_and_need_restart(struct super_block *sb);
1526 1525 void unnamed_dev_init(void);
1527 1526