X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=block%2Fbio.c;h=3e6331d25d90c6aa507acd43bb90f2001c9e6641;hb=6fbc198cf623944ab60a1db6d306a4d55cdd820d;hp=0ec61c9e536c2032778db165c7b31d98bdc5e735;hpb=cf6f3976045468049038cfc45586b8b16c33dd05;p=firefly-linux-kernel-4.4.55.git diff --git a/block/bio.c b/block/bio.c index 0ec61c9e536c..3e6331d25d90 100644 --- a/block/bio.c +++ b/block/bio.c @@ -112,7 +112,8 @@ static struct kmem_cache *bio_find_or_create_slab(unsigned int extra_size) bslab = &bio_slabs[entry]; snprintf(bslab->name, sizeof(bslab->name), "bio-%d", entry); - slab = kmem_cache_create(bslab->name, sz, 0, SLAB_HWCACHE_ALIGN, NULL); + slab = kmem_cache_create(bslab->name, sz, ARCH_KMALLOC_MINALIGN, + SLAB_HWCACHE_ALIGN, NULL); if (!slab) goto out_unlock;