]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - fs/dcache.c
mm: Remove slab destructors from kmem_cache_create().
[net-next-2.6.git] / fs / dcache.c
index cb9d05056b54368728d0d38c59ebda240f233476..678d39deb60770dffb5cbbbc0de1e84d6e139f36 100644 (file)
@@ -2165,10 +2165,10 @@ void __init vfs_caches_init(unsigned long mempages)
        mempages -= reserve;
 
        names_cachep = kmem_cache_create("names_cache", PATH_MAX, 0,
-                       SLAB_HWCACHE_ALIGN|SLAB_PANIC, NULL, NULL);
+                       SLAB_HWCACHE_ALIGN|SLAB_PANIC, NULL);
 
        filp_cachep = kmem_cache_create("filp", sizeof(struct file), 0,
-                       SLAB_HWCACHE_ALIGN|SLAB_PANIC, NULL, NULL);
+                       SLAB_HWCACHE_ALIGN|SLAB_PANIC, NULL);
 
        dcache_init(mempages);
        inode_init(mempages);