summaryrefslogtreecommitdiffstats
path: root/fs/inode.c
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 /fs/inode.c
parent1d99493b3a68e40e56459ea3565d4402fb6e5f3a (diff)
downloadop-kernel-dev-74bf17cffc32511c7c6d70fe7f376b92662e186e.zip
op-kernel-dev-74bf17cffc32511c7c6d70fe7f376b92662e186e.tar.gz
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 'fs/inode.c')
-rw-r--r--fs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/inode.c b/fs/inode.c
index ee93b3e..c616577 100644
--- a/fs/inode.c
+++ b/fs/inode.c
@@ -1396,7 +1396,7 @@ void __init inode_init_early(void)
INIT_HLIST_HEAD(&inode_hashtable[loop]);
}
-void __init inode_init(unsigned long mempages)
+void __init inode_init(void)
{
int loop;
OpenPOWER on IntegriCloud