slab allocators: Remove SLAB_DEBUG_INITIAL flag
[deliverable/linux.git] / fs / block_dev.c
index 6fe49b9349ea465db443080b3f535031b44fdfc5..f02b7bdd9864874c5f038c792c20763a1bfa7437 100644 (file)
@@ -457,9 +457,7 @@ static void init_once(void * foo, struct kmem_cache * cachep, unsigned long flag
        struct bdev_inode *ei = (struct bdev_inode *) foo;
        struct block_device *bdev = &ei->bdev;
 
-       if ((flags & (SLAB_CTOR_VERIFY|SLAB_CTOR_CONSTRUCTOR)) ==
-           SLAB_CTOR_CONSTRUCTOR)
-       {
+       if (flags & SLAB_CTOR_CONSTRUCTOR) {
                memset(bdev, 0, sizeof(*bdev));
                mutex_init(&bdev->bd_mutex);
                sema_init(&bdev->bd_mount_sem, 1);
This page took 0.030745 seconds and 5 git commands to generate.