filp_cachep can be static in fs/file_table.c
authorEric Dumazet <dada1@cosmosbay.com>
Wed, 10 Dec 2008 17:35:45 +0000 (09:35 -0800)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 31 Dec 2008 23:07:42 +0000 (18:07 -0500)
commitb6b3fdead251d432f32f2cfce2a893ab8a658110
tree358885c529fd14d0cc404a454088329533db379e
parentfd659fd6275d3426d7967da1f0e3638bbbd2fedb
filp_cachep can be static in fs/file_table.c

Instead of creating the "filp" kmem_cache in vfs_caches_init(),
we can do it a litle be later in files_init(), so that filp_cachep
is static to fs/file_table.c

Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>

Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/dcache.c
fs/file_table.c
include/linux/fdtable.h