Message ID | 1448054206-23808-1-git-send-email-idryomov@gmail.com (mailing list archive) |
---|---|
State | Accepted, archived |
Delegated to: | Jens Axboe |
Headers | show |
On 11/20/2015 02:16 PM, Ilya Dryomov wrote: > Name the cache after the actual name of the struct. > > Signed-off-by: Ilya Dryomov <idryomov@gmail.com> Makes sense, queued up for 4.5.
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) request_cachep = kmem_cache_create("blkdev_requests", sizeof(struct request), 0, SLAB_PANIC, NULL); - blk_requestq_cachep = kmem_cache_create("blkdev_queue", + blk_requestq_cachep = kmem_cache_create("request_queue", sizeof(struct request_queue), 0, SLAB_PANIC, NULL); return 0;
Name the cache after the actual name of the struct. Signed-off-by: Ilya Dryomov <idryomov@gmail.com> --- block/blk-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)