aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/blkdev.h
diff options
context:
space:
mode:
authorJohn Garry <john.garry@huawei.com>2021-10-05 18:23:36 +0800
committerJens Axboe <axboe@kernel.dk>2021-10-18 06:17:03 -0600
commit645db34e50501aac141713fb47a315e5202ff890 (patch)
tree1efe07a715d895cb83c78adbd77d0f91a3a41597 /include/linux/blkdev.h
parentblk-mq: Add blk_mq_alloc_map_and_rqs() (diff)
downloadlinux-dev-645db34e50501aac141713fb47a315e5202ff890.tar.xz
linux-dev-645db34e50501aac141713fb47a315e5202ff890.zip
blk-mq: Refactor and rename blk_mq_free_map_and_{requests->rqs}()
Refactor blk_mq_free_map_and_requests() such that it can be used at many sites at which the tag map and rqs are freed. Also rename to blk_mq_free_map_and_rqs(), which is shorter and matches the alloc equivalent. Suggested-by: Ming Lei <ming.lei@redhat.com> Signed-off-by: John Garry <john.garry@huawei.com> Reviewed-by: Hannes Reinecke <hare@suse.de> Link: https://lore.kernel.org/r/1633429419-228500-12-git-send-email-john.garry@huawei.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/blkdev.h')
0 files changed, 0 insertions, 0 deletions