From: Adrian Bunk Make the needlessly global __put_super() static. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton --- fs/super.c | 2 +- include/linux/fs.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff -puN fs/super.c~make-__put_super-static fs/super.c --- a/fs/super.c~make-__put_super-static +++ a/fs/super.c @@ -117,7 +117,7 @@ static inline void destroy_super(struct * Drop a superblock's refcount. Returns non-zero if the superblock was * destroyed. The caller must hold sb_lock. */ -int __put_super(struct super_block *sb) +static int __put_super(struct super_block *sb) { int ret = 0; diff -puN include/linux/fs.h~make-__put_super-static include/linux/fs.h --- a/include/linux/fs.h~make-__put_super-static +++ a/include/linux/fs.h @@ -1519,7 +1519,6 @@ extern int get_sb_pseudo(struct file_sys const struct super_operations *ops, unsigned long, struct vfsmount *mnt); extern int simple_set_mnt(struct vfsmount *mnt, struct super_block *sb); -int __put_super(struct super_block *sb); int __put_super_and_need_restart(struct super_block *sb); void unnamed_dev_init(void); _