summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2023-05-17 20:42:19 +0300
committerJens Axboe <axboe@kernel.dk>2023-05-19 04:47:49 +0300
commit45b46b6f157169b452772430566772506e25687a (patch)
tree16b726dd6703e829e08aa2afb12ac641f66cf5a1
parentdd6216bb16e83e349d5d987227328031b0b0d30d (diff)
downloadlinux-45b46b6f157169b452772430566772506e25687a.tar.xz
block: mq-deadline: Add a word in a source code comment
Add the missing word "and". Cc: Damien Le Moal <dlemoal@kernel.org> Suggested-by: Damien Le Moal <dlemoal@kernel.org> Fixes: 945ffb60c11d ("mq-deadline: add blk-mq adaptation of the deadline IO scheduler") Signed-off-by: Bart Van Assche <bvanassche@acm.org> Tested-by: Damien Le Moal <dlemoal@kernel.org> Link: https://lore.kernel.org/r/20230517174230.897144-2-bvanassche@acm.org Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r--block/mq-deadline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/mq-deadline.c b/block/mq-deadline.c
index 5839a027e0f0..cea1b084c69e 100644
--- a/block/mq-deadline.c
+++ b/block/mq-deadline.c
@@ -443,7 +443,7 @@ static struct request *__dd_dispatch_request(struct deadline_data *dd,
*/
rq = deadline_next_request(dd, per_prio, dd->last_dir);
if (rq && dd->batching < dd->fifo_batch)
- /* we have a next request are still entitled to batch */
+ /* we have a next request and are still entitled to batch */
goto dispatch_request;
/*