projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b2b10e
)
bio-integrity: remove the needless fail handle of bip_slab creating
author
Gu Zheng
<guz.fnst@cn.fujitsu.com>
Mon, 13 Oct 2014 21:07:27 +0000
(14:07 -0700)
committer
Jens Axboe
<axboe@fb.com>
Mon, 13 Oct 2014 21:09:38 +0000
(15:09 -0600)
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>
block/bio-integrity.c
patch
|
blob
|
blame
|
history
diff --git
a/block/bio-integrity.c
b/block/bio-integrity.c
index 8e0548484dd386304dfa0e5714d3fba504eb2240..0984232e429fb61d427c90340fa0c77e55c1fee2 100644
(file)
--- 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");
}