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>
This commit is contained in:
committed by
Linus Torvalds
parent
1d99493b3a
commit
74bf17cffc
@@ -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;
|
||||
|
Reference in New Issue
Block a user