aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@suse.cz>2007-10-19 02:39:11 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-19 14:53:33 -0400
commitc18479fe017b9d3b65b7682f2b9e711389441186 (patch)
tree510d56a218d4542e337368276ada7e2c5482cee3
parent50899561aa15b9227009ae40e58852c32fc81944 (diff)
put declaration of put_filesystem() in fs.h
Declarations go into headers. Signed-off-by: Miklos Szeredi <mszeredi@suse.cz> Cc: Ram Pai <linuxram@us.ibm.com> Acked-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--fs/super.c4
-rw-r--r--include/linux/fs.h2
2 files changed, 2 insertions, 4 deletions
diff --git a/fs/super.c b/fs/super.c
index 1bfcca2104be..d62629c6c0cb 100644
--- a/fs/super.c
+++ b/fs/super.c
@@ -40,10 +40,6 @@
40#include <asm/uaccess.h> 40#include <asm/uaccess.h>
41 41
42 42
43void get_filesystem(struct file_system_type *fs);
44void put_filesystem(struct file_system_type *fs);
45struct file_system_type *get_fs_type(const char *name);
46
47LIST_HEAD(super_blocks); 43LIST_HEAD(super_blocks);
48DEFINE_SPINLOCK(sb_lock); 44DEFINE_SPINLOCK(sb_lock);
49 45
diff --git a/include/linux/fs.h b/include/linux/fs.h
index 6a4d170ad9a5..3efff12049c6 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -1922,6 +1922,8 @@ extern int vfs_fstat(unsigned int, struct kstat *);
1922 1922
1923extern int vfs_ioctl(struct file *, unsigned int, unsigned int, unsigned long); 1923extern int vfs_ioctl(struct file *, unsigned int, unsigned int, unsigned long);
1924 1924
1925extern void get_filesystem(struct file_system_type *fs);
1926extern void put_filesystem(struct file_system_type *fs);
1925extern struct file_system_type *get_fs_type(const char *name); 1927extern struct file_system_type *get_fs_type(const char *name);
1926extern struct super_block *get_super(struct block_device *); 1928extern struct super_block *get_super(struct block_device *);
1927extern struct super_block *user_get_super(dev_t); 1929extern struct super_block *user_get_super(dev_t);