summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGu Zheng <guz.fnst@cn.fujitsu.com>2014-10-13 14:07:27 -0700
committerJens Axboe <axboe@fb.com>2014-10-13 15:09:38 -0600
commitb65c7491cb865577e83e6b7fae2aa2f4ea457c38 (patch)
tree772f1d682e372085720efb96264536088f39fd7e
parent7b2b10e0e2c65ebc11314e1af9924d0824ec1562 (diff)
downloadop-kernel-dev-b65c7491cb865577e83e6b7fae2aa2f4ea457c38.zip
op-kernel-dev-b65c7491cb865577e83e6b7fae2aa2f4ea457c38.tar.gz
bio-integrity: remove the needless fail handle of bip_slab creating
bip_slab is created with SLAB_PANIC, so the fail handler is unneeded. Signed-off-by: Gu Zheng <guz.fnst@cn.fujitsu.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Jens Axboe <axboe@fb.com>
-rw-r--r--block/bio-integrity.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/block/bio-integrity.c b/block/bio-integrity.c
index 8e05484..0984232 100644
--- a/block/bio-integrity.c
+++ b/block/bio-integrity.c
@@ -513,6 +513,4 @@ void __init bio_integrity_init(void)
sizeof(struct bio_integrity_payload) +
sizeof(struct bio_vec) * BIP_INLINE_VECS,
0, SLAB_HWCACHE_ALIGN|SLAB_PANIC, NULL);
- if (!bip_slab)
- panic("Failed to create slab\n");
}
OpenPOWER on IntegriCloud