aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/fs.h
diff options
context:
space:
mode:
authorDenis Cheng <crquan@gmail.com>2007-10-16 23:26:30 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-17 08:42:49 -0700
commit74bf17cffc32511c7c6d70fe7f376b92662e186e (patch)
treee770b056d4a83f847a04fc92e119aa607ec0edaf /include/linux/fs.h
parentFix CONFIG_DEBUG_SHIRQ trigger on free_irq() (diff)
downloadlinux-dev-74bf17cffc32511c7c6d70fe7f376b92662e186e.tar.xz
linux-dev-74bf17cffc32511c7c6d70fe7f376b92662e186e.zip
fs: remove the unused mempages parameter
Since the mempages parameter is actually not used, they should be removed. Now there is only files_init use the mempages parameter, files_init(mempages); but I don't think the adaptation to mempages in files_init is really useful; and if files_init also changed to the prototype void (*func)(void), the wrapper vfs_caches_init would also not need the mempages parameter. Signed-off-by: Denis Cheng <crquan@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r--include/linux/fs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index 8b3580d0664e..73f0bdbe436a 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -300,9 +300,9 @@ struct kstatfs;
struct vm_area_struct;
struct vfsmount;
-extern void __init inode_init(unsigned long);
+extern void __init inode_init(void);
extern void __init inode_init_early(void);
-extern void __init mnt_init(unsigned long);
+extern void __init mnt_init(void);
extern void __init files_init(unsigned long);
struct buffer_head;