diff options
author | Ilya Dryomov <idryomov@gmail.com> | 2015-11-20 16:16:46 -0500 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2015-11-24 17:24:25 -0500 |
commit | c2789bd403f4c0c541a359cf318b1dda9a14234f (patch) | |
tree | 66c59dbd1c5e41a708c8cd847c5884b434768298 /block | |
parent | 55ce0da1da287822e5ffb5fcd6e357180d5ba4cd (diff) |
block: rename request_queue slab cache
Name the cache after the actual name of the struct.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block')
-rw-r--r-- | block/blk-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blk-core.c b/block/blk-core.c index 5131993b23a1..c0c884efa40f 100644 --- a/block/blk-core.c +++ b/block/blk-core.c | |||
@@ -3513,7 +3513,7 @@ int __init blk_dev_init(void) | |||
3513 | request_cachep = kmem_cache_create("blkdev_requests", | 3513 | request_cachep = kmem_cache_create("blkdev_requests", |
3514 | sizeof(struct request), 0, SLAB_PANIC, NULL); | 3514 | sizeof(struct request), 0, SLAB_PANIC, NULL); |
3515 | 3515 | ||
3516 | blk_requestq_cachep = kmem_cache_create("blkdev_queue", | 3516 | blk_requestq_cachep = kmem_cache_create("request_queue", |
3517 | sizeof(struct request_queue), 0, SLAB_PANIC, NULL); | 3517 | sizeof(struct request_queue), 0, SLAB_PANIC, NULL); |
3518 | 3518 | ||
3519 | return 0; | 3519 | return 0; |