block: rename request_queue slab cache
authorIlya Dryomov <idryomov@gmail.com>
Fri, 20 Nov 2015 21:16:46 +0000 (22:16 +0100)
committerJens Axboe <axboe@fb.com>
Tue, 24 Nov 2015 22:24:25 +0000 (15:24 -0700)
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>
block/blk-core.c

index 5131993b23a1a2b35670adcbd4ab7d569a29a3d2..c0c884efa40f72a6cec41ecc00f56431cfbcda50 100644 (file)
@@ -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;