blk-mq-sched: Rename blk_mq_sched_alloc_{tags -> map_and_rqs}()
authorJohn Garry <john.garry@huawei.com>
Tue, 5 Oct 2021 10:23:30 +0000 (18:23 +0800)
committerJens Axboe <axboe@kernel.dk>
Mon, 18 Oct 2021 12:17:02 +0000 (06:17 -0600)
commitd99a6bb337677d812d5bef7795c9fcf17f1ccebe
tree7f3a7599f383bbd49be9e2f67c5199ebed0086c3
parentf6adcef5f317c78a899ca9766e90e47026834158
blk-mq-sched: Rename blk_mq_sched_alloc_{tags -> map_and_rqs}()

Function blk_mq_sched_alloc_tags() does same as
__blk_mq_alloc_map_and_request(), so give a similar name to be consistent.

Similarly rename label err_free_tags -> err_free_map_and_rqs.

Signed-off-by: John Garry <john.garry@huawei.com>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Link: https://lore.kernel.org/r/1633429419-228500-6-git-send-email-john.garry@huawei.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq-sched.c