]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - fs/block_dev.c
mm: Remove slab destructors from kmem_cache_create().
[net-next-2.6.git] / fs / block_dev.c
index 3635315e3b99837c4c324baddb033fc2b212a99c..2980eabe577981c0852a9286eea9be4474143687 100644 (file)
@@ -517,7 +517,7 @@ void __init bdev_cache_init(void)
        bdev_cachep = kmem_cache_create("bdev_cache", sizeof(struct bdev_inode),
                        0, (SLAB_HWCACHE_ALIGN|SLAB_RECLAIM_ACCOUNT|
                                SLAB_MEM_SPREAD|SLAB_PANIC),
-                       init_once, NULL);
+                       init_once);
        err = register_filesystem(&bd_type);
        if (err)
                panic("Cannot register bdev pseudo-fs");