diff options
author | John Garry <john.garry@huawei.com> | 2021-10-05 13:23:31 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-10-18 15:17:02 +0300 |
commit | 1820f4f0a5e75633ff384167027bf45ed1b10234 (patch) | |
tree | 91f60055a97435b77d264c0b0d66c14ee7a7917b /block/blk-core.c | |
parent | d99a6bb337677d812d5bef7795c9fcf17f1ccebe (diff) | |
download | linux-1820f4f0a5e75633ff384167027bf45ed1b10234.tar.xz |
blk-mq-sched: Rename blk_mq_sched_free_{requests -> rqs}()
To be more concise and consistent in naming, rename
blk_mq_sched_free_requests() -> blk_mq_sched_free_rqs().
Signed-off-by: John Garry <john.garry@huawei.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Link: https://lore.kernel.org/r/1633429419-228500-7-git-send-email-john.garry@huawei.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-core.c')
-rw-r--r-- | block/blk-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blk-core.c b/block/blk-core.c index 2590e7724990..0ed17547bfed 100644 --- a/block/blk-core.c +++ b/block/blk-core.c @@ -403,7 +403,7 @@ void blk_cleanup_queue(struct request_queue *q) */ mutex_lock(&q->sysfs_lock); if (q->elevator) - blk_mq_sched_free_requests(q); + blk_mq_sched_free_rqs(q); mutex_unlock(&q->sysfs_lock); percpu_ref_exit(&q->q_usage_counter); |