]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
block: correct stale comment in rq_qos_wait
authorKemeng Shi <shikemeng@huaweicloud.com>
Thu, 14 Sep 2023 09:15:08 +0000 (17:15 +0800)
committerJens Axboe <axboe@kernel.dk>
Mon, 18 Sep 2023 20:15:28 +0000 (14:15 -0600)
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>
block/blk-rq-qos.c

index 167be74df4eeca66c175a1e77f2a274cc6602ba8..dd7310c94713c954aac5d511147f6feb2d27663e 100644 (file)
@@ -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.
                         */