From: Miklos Szeredi Date: Fri, 19 Oct 2007 06:39:11 +0000 (-0700) Subject: put declaration of put_filesystem() in fs.h X-Git-Tag: v2.6.24-rc1~284 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=c18479fe017b9d3b65b7682f2b9e711389441186;p=linux-2.6-omap-h63xx.git put declaration of put_filesystem() in fs.h Declarations go into headers. Signed-off-by: Miklos Szeredi Cc: Ram Pai Acked-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/fs/super.c b/fs/super.c index 1bfcca2104b..d62629c6c0c 100644 --- a/fs/super.c +++ b/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 --git a/include/linux/fs.h b/include/linux/fs.h index 6a4d170ad9a..3efff12049c 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -1922,6 +1922,8 @@ extern int vfs_fstat(unsigned int, struct kstat *); 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);