|
@@ -2314,9 +2314,6 @@ static void __init dcache_init(void)
|
|
/* SLAB cache for __getname() consumers */
|
|
/* SLAB cache for __getname() consumers */
|
|
struct kmem_cache *names_cachep __read_mostly;
|
|
struct kmem_cache *names_cachep __read_mostly;
|
|
|
|
|
|
-/* SLAB cache for file structures */
|
|
|
|
-struct kmem_cache *filp_cachep __read_mostly;
|
|
|
|
-
|
|
|
|
EXPORT_SYMBOL(d_genocide);
|
|
EXPORT_SYMBOL(d_genocide);
|
|
|
|
|
|
void __init vfs_caches_init_early(void)
|
|
void __init vfs_caches_init_early(void)
|
|
@@ -2338,9 +2335,6 @@ void __init vfs_caches_init(unsigned long mempages)
|
|
names_cachep = kmem_cache_create("names_cache", PATH_MAX, 0,
|
|
names_cachep = kmem_cache_create("names_cache", PATH_MAX, 0,
|
|
SLAB_HWCACHE_ALIGN|SLAB_PANIC, NULL);
|
|
SLAB_HWCACHE_ALIGN|SLAB_PANIC, NULL);
|
|
|
|
|
|
- filp_cachep = kmem_cache_create("filp", sizeof(struct file), 0,
|
|
|
|
- SLAB_HWCACHE_ALIGN|SLAB_PANIC, NULL);
|
|
|
|
-
|
|
|
|
dcache_init();
|
|
dcache_init();
|
|
inode_init();
|
|
inode_init();
|
|
files_init(mempages);
|
|
files_init(mempages);
|