From: Miklos Szeredi Declarations go into headers. Signed-off-by: Miklos Szeredi Cc: Ram Pai Cc: Christoph Hellwig Signed-off-by: Andrew Morton --- fs/super.c | 4 ---- include/linux/fs.h | 2 ++ 2 files changed, 2 insertions(+), 4 deletions(-) diff -puN fs/super.c~unprivileged-mounts-put-declaration-of-put_filesystem-in-fsh fs/super.c --- a/fs/super.c~unprivileged-mounts-put-declaration-of-put_filesystem-in-fsh +++ a/fs/super.c @@ -40,10 +40,6 @@ #include -void get_filesystem(struct file_system_type *fs); -void put_filesystem(struct file_system_type *fs); -struct file_system_type *get_fs_type(const char *name); - LIST_HEAD(super_blocks); DEFINE_SPINLOCK(sb_lock); diff -puN include/linux/fs.h~unprivileged-mounts-put-declaration-of-put_filesystem-in-fsh include/linux/fs.h --- a/include/linux/fs.h~unprivileged-mounts-put-declaration-of-put_filesystem-in-fsh +++ a/include/linux/fs.h @@ -1765,6 +1765,8 @@ extern int vfs_fstat(unsigned int, struc extern int vfs_ioctl(struct file *, unsigned int, unsigned int, unsigned long); +extern void get_filesystem(struct file_system_type *fs); +extern void put_filesystem(struct file_system_type *fs); extern struct file_system_type *get_fs_type(const char *name); extern struct super_block *get_super(struct block_device *); extern struct super_block *user_get_super(dev_t); _