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>
This commit is contained in:
Adrian Bunk 2008-04-29 00:58:54 -07:00 committed by Linus Torvalds
parent 8b1919a1e8
commit 6b09ae6692
2 changed files with 1 additions and 2 deletions

View File

@ -117,7 +117,7 @@ static inline void destroy_super(struct super_block *s)
* Drop a superblock's refcount. Returns non-zero if the superblock was * Drop a superblock's refcount. Returns non-zero if the superblock was
* destroyed. The caller must hold sb_lock. * 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; int ret = 0;

View File

@ -1521,7 +1521,6 @@ extern int get_sb_pseudo(struct file_system_type *, char *,
const struct super_operations *ops, unsigned long, const struct super_operations *ops, unsigned long,
struct vfsmount *mnt); struct vfsmount *mnt);
extern int simple_set_mnt(struct vfsmount *mnt, struct super_block *sb); 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); int __put_super_and_need_restart(struct super_block *sb);
void unnamed_dev_init(void); void unnamed_dev_init(void);