projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
asus-laptop: notify ALL events
[firefly-linux-kernel-4.4.55.git]
/
fs
/
bio.c
diff --git
a/fs/bio.c
b/fs/bio.c
index 693940da40904f537eadf099662fbe9194867eea..093345f00128b841cd7a4026378f1021e2e9785d 100644
(file)
--- a/
fs/bio.c
+++ b/
fs/bio.c
@@
-1193,8
+1193,7
@@
static void __init biovec_init_slabs(void)
static int __init init_bio(void)
{
- bio_slab = kmem_cache_create("bio", sizeof(struct bio), 0,
- SLAB_HWCACHE_ALIGN|SLAB_PANIC, NULL, NULL);
+ bio_slab = KMEM_CACHE(bio, SLAB_HWCACHE_ALIGN|SLAB_PANIC);
biovec_init_slabs();