]> err.no Git - linux-2.6/commit
fs: remove the unused mempages parameter
authorDenis Cheng <crquan@gmail.com>
Wed, 17 Oct 2007 06:26:30 +0000 (23:26 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 17 Oct 2007 15:42:49 +0000 (08:42 -0700)
commit74bf17cffc32511c7c6d70fe7f376b92662e186e
treee770b056d4a83f847a04fc92e119aa607ec0edaf
parent1d99493b3a68e40e56459ea3565d4402fb6e5f3a
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>
fs/dcache.c
fs/inode.c
fs/namespace.c
include/linux/fs.h