diff mbox series

block: correct stale comment in rq_qos_wait

Message ID 20230914091508.36232-1-shikemeng@huaweicloud.com (mailing list archive)
State New, archived
Headers show
Series block: correct stale comment in rq_qos_wait | expand

Commit Message

Kemeng Shi Sept. 14, 2023, 9:15 a.m. UTC
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>
---
 block/blk-rq-qos.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Tejun Heo Sept. 18, 2023, 6:38 p.m. UTC | #1
On Thu, Sep 14, 2023 at 05:15:08PM +0800, Kemeng Shi wrote:
> 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>

Thanks.
Jens Axboe Sept. 18, 2023, 8:15 p.m. UTC | #2
On Thu, 14 Sep 2023 17:15:08 +0800, Kemeng Shi wrote:
> 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.
> 
> 

Applied, thanks!

[1/1] block: correct stale comment in rq_qos_wait
      commit: e599ed7866cd804ca15de7a92f7f629944cc278d

Best regards,
diff mbox series

Patch

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.
 			 */