projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
761e5af
)
block: fix comment to use set_current_state
author
Alvaro Parker
<alparkerdf@gmail.com>
Tue, 3 Sep 2024 17:22:14 +0000
(13:22 -0400)
committer
Jens Axboe
<axboe@kernel.dk>
Wed, 4 Sep 2024 13:27:19 +0000
(07:27 -0600)
The explanatory comment used `set_task_state` instead of
`set_current_state` which is the function actually used in the code.
Signed-off-by: Alvaro Parker <alparkerdf@gmail.com>
Link:
https://lore.kernel.org/r/20240903172214.520086-1-alparkerdf@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-rq-qos.c
patch
|
blob
|
blame
|
history
diff --git
a/block/blk-rq-qos.c
b/block/blk-rq-qos.c
index dd7310c94713c954aac5d511147f6feb2d27663e..2cfb297d9a62766384864ba527e8f533e387c3c3 100644
(file)
--- a/
block/blk-rq-qos.c
+++ b/
block/blk-rq-qos.c
@@
-263,7
+263,7
@@
void rq_qos_wait(struct rq_wait *rqw, void *private_data,
has_sleeper = !prepare_to_wait_exclusive(&rqw->wait, &data.wq,
TASK_UNINTERRUPTIBLE);
do {
- /* The memory barrier in set_
task
_state saves us here. */
+ /* The memory barrier in set_
current
_state saves us here. */
if (data.got_token)
break;
if (!has_sleeper && acquire_inflight_cb(rqw, private_data)) {