summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorKemeng Shi <shikemeng@huaweicloud.com>2023-09-14 17:15:08 +0800
committerJens Axboe <axboe@kernel.dk>2023-09-18 14:15:28 -0600
commite599ed7866cd804ca15de7a92f7f629944cc278d (patch)
treec4dd3a7c029cac45e2793541a29963c4e1a3987f /block
parentc266ae774effb858266e64b0dfd7018e58278523 (diff)
downloadlinux-stable-e599ed7866cd804ca15de7a92f7f629944cc278d.tar.gz
linux-stable-e599ed7866cd804ca15de7a92f7f629944cc278d.tar.bz2
linux-stable-e599ed7866cd804ca15de7a92f7f629944cc278d.zip
block: correct stale comment in rq_qos_wait
The rq_qos_wait calls common wake-up function rq_qos_wake_function to get token. Just replace stale wbt_wake_function with rq_qos_wake_function in comment. Signed-off-by: Kemeng Shi <shikemeng@huaweicloud.com> Acked-by: Tejun Heo <tj@kernel.org> Link: https://lore.kernel.org/r/20230914091508.36232-1-shikemeng@huaweicloud.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block')
-rw-r--r--block/blk-rq-qos.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blk-rq-qos.c b/block/blk-rq-qos.c
index 167be74df4ee..dd7310c94713 100644
--- a/block/blk-rq-qos.c
+++ b/block/blk-rq-qos.c
@@ -270,7 +270,7 @@ void rq_qos_wait(struct rq_wait *rqw, void *private_data,
finish_wait(&rqw->wait, &data.wq);
/*
- * We raced with wbt_wake_function() getting a token,
+ * We raced with rq_qos_wake_function() getting a token,
* which means we now have two. Put our local token
* and wake anyone else potentially waiting for one.
*/