blk-mq: add helper allocating tagset->tags
authorMinwoo Im <minwoo.im.dev@gmail.com>
Fri, 4 Dec 2020 15:20:53 +0000 (00:20 +0900)
committerJens Axboe <axboe@kernel.dk>
Sat, 12 Dec 2020 18:13:41 +0000 (11:13 -0700)
commit91cdf265b74bf63a69949d6db08a60523207400c
tree1e1faf486127067ff0357525570e7b876e6be746
parent7aa390ec2d9db0cd6677d95d0b8f307f9c086770
blk-mq: add helper allocating tagset->tags

tagset->set is allocated from blk_mq_alloc_tag_set() rather than being
reallocated.  This patch added a helper to make its meaning explicitly
which is to allocate rather than to reallocate.

Signed-off-by: Minwoo Im <minwoo.im.dev@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq.c