]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb3e94b93630f6e9c53c9b50def2697aa8df5275a
tree358885c529fd14d0cc404a454088329533db379e
parent79b1768c0b26f132fd68d6af1766c6ee139a1e74
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