projects
/
linux-2.6-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
507ce2b
)
blk-mq: queue_for_each_ctx() typo
multiqueue
author
Jens Axboe
<axboe@kernel.dk>
Tue, 12 Jun 2012 13:41:34 +0000
(15:41 +0200)
committer
Jens Axboe
<axboe@kernel.dk>
Tue, 12 Jun 2012 13:41:34 +0000
(15:41 +0200)
0 -> i
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/blk-mq.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/blk-mq.h
b/include/linux/blk-mq.h
index a6f6ae4b0782f70ab62af5e0259677217f6a9424..c4dbe809ca7b47dec9c38bdec62397df7d112843 100644
(file)
--- a/
include/linux/blk-mq.h
+++ b/
include/linux/blk-mq.h
@@
-42,7
+42,7
@@
static inline struct blk_queue_ctx *blk_get_ctx(struct request_queue *q, int nr)
}
#define queue_for_each_ctx(q, ctx, i) \
- for (i = 0, ctx = &(q)->queue_ctx[
0
]; \
+ for (i = 0, ctx = &(q)->queue_ctx[
i
]; \
i < (q)->nr_queues; i++, ctx++) \
#define blk_ctx_sum(q, sum) \