diff options
author | Bart Van Assche <bart.vanassche@wdc.com> | 2018-01-09 13:09:15 -0500 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-01-09 13:15:15 -0500 |
commit | ee3e4de525aad5d9b2ef1fdd28341587a97d740e (patch) | |
tree | 0d16c2d95809007db5bfcb0ddc32f3af773797f0 /block/blk-mq.c | |
parent | 08b5a6e2a769f720977b245431b45134c0bdd377 (diff) |
blk-mq: Fix spelling in a source code comment
Change "nedeing" into "needing" and "caes" into "cases".
Fixes: commit f906a6a0f426 ("blk-mq: improve tag waiting setup for non-shared tags")
Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Omar Sandoval <osandov@fb.com>
Cc: Hannes Reinecke <hare@suse.de>
Cc: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-mq.c')
-rw-r--r-- | block/blk-mq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/block/blk-mq.c b/block/blk-mq.c index 8de354606690..9aa24c9508f9 100644 --- a/block/blk-mq.c +++ b/block/blk-mq.c | |||
@@ -1089,8 +1089,8 @@ static int blk_mq_dispatch_wake(wait_queue_entry_t *wait, unsigned mode, | |||
1089 | 1089 | ||
1090 | /* | 1090 | /* |
1091 | * Mark us waiting for a tag. For shared tags, this involves hooking us into | 1091 | * Mark us waiting for a tag. For shared tags, this involves hooking us into |
1092 | * the tag wakeups. For non-shared tags, we can simply mark us nedeing a | 1092 | * the tag wakeups. For non-shared tags, we can simply mark us needing a |
1093 | * restart. For both caes, take care to check the condition again after | 1093 | * restart. For both cases, take care to check the condition again after |
1094 | * marking us as waiting. | 1094 | * marking us as waiting. |
1095 | */ | 1095 | */ |
1096 | static bool blk_mq_mark_tag_wait(struct blk_mq_hw_ctx **hctx, | 1096 | static bool blk_mq_mark_tag_wait(struct blk_mq_hw_ctx **hctx, |