diff options
Diffstat (limited to 'block')
| -rw-r--r-- | block/bio.c | 3 |
1 files changed, 2 insertions, 1 deletions
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) | |||
| 112 | bslab = &bio_slabs[entry]; | 112 | bslab = &bio_slabs[entry]; |
| 113 | 113 | ||
| 114 | snprintf(bslab->name, sizeof(bslab->name), "bio-%d", entry); | 114 | snprintf(bslab->name, sizeof(bslab->name), "bio-%d", entry); |
| 115 | slab = kmem_cache_create(bslab->name, sz, 0, SLAB_HWCACHE_ALIGN, NULL); | 115 | slab = kmem_cache_create(bslab->name, sz, ARCH_KMALLOC_MINALIGN, |
| 116 | SLAB_HWCACHE_ALIGN, NULL); | ||
| 116 | if (!slab) | 117 | if (!slab) |
| 117 | goto out_unlock; | 118 | goto out_unlock; |
| 118 | 119 | ||
