]> git.baikalelectronics.ru Git - kernel.git/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)
commita2c406a6d49b624bd010cc3d8f2334e1eec88add
treee770b056d4a83f847a04fc92e119aa607ec0edaf
parent2bc34b21de045b866e00d3b43a5147b045ac57df
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