summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorJens Axboe <axboe@fb.com>2014-08-15 13:19:15 -0600
committerJens Axboe <axboe@fb.com>2014-08-21 20:37:49 -0500
commita68aafa5b297d99c2d0c38689089a752126e9e79 (patch)
tree7a5b4c3085e929cb5a0d485cb5b0f5bae74da6f6 /block
parent16f408dc6b1c87f5e3a767626df09c1399c6bf70 (diff)
downloadlinux-a68aafa5b297d99c2d0c38689089a752126e9e79.tar.gz
blk-mq: correct a few wrong/bad comments
Just grammar or spelling errors, nothing major. Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block')
-rw-r--r--block/blk-mq.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/block/blk-mq.c b/block/blk-mq.c
index c9e89a8792e3..a0565bb20fd5 100644
--- a/block/blk-mq.c
+++ b/block/blk-mq.c
@@ -1580,7 +1580,7 @@ static int blk_mq_init_hw_queues(struct request_queue *q,
hctx->tags = set->tags[i];
/*
- * Allocate space for all possible cpus to avoid allocation in
+ * Allocate space for all possible cpus to avoid allocation at
* runtime
*/
hctx->ctxs = kmalloc_node(nr_cpu_ids * sizeof(void *),
@@ -1668,8 +1668,8 @@ static void blk_mq_map_swqueue(struct request_queue *q)
queue_for_each_hw_ctx(q, hctx, i) {
/*
- * If not software queues are mapped to this hardware queue,
- * disable it and free the request entries
+ * If no software queues are mapped to this hardware queue,
+ * disable it and free the request entries.
*/
if (!hctx->nr_ctx) {
struct blk_mq_tag_set *set = q->tag_set;