diff options
Diffstat (limited to 'fs/bio.c')
-rw-r--r-- | fs/bio.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1193,8 +1193,7 @@ static void __init biovec_init_slabs(void) | |||
1193 | 1193 | ||
1194 | static int __init init_bio(void) | 1194 | static int __init init_bio(void) |
1195 | { | 1195 | { |
1196 | bio_slab = kmem_cache_create("bio", sizeof(struct bio), 0, | 1196 | bio_slab = KMEM_CACHE(bio, SLAB_HWCACHE_ALIGN|SLAB_PANIC); |
1197 | SLAB_HWCACHE_ALIGN|SLAB_PANIC, NULL, NULL); | ||
1198 | 1197 | ||
1199 | biovec_init_slabs(); | 1198 | biovec_init_slabs(); |
1200 | 1199 | ||