Commit 66cb679e authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] Fix rq_for_each_bio() macro again

From: Rusty Russell <rusty@rustcorp.com.au>

Looks like an obvious typo.  Works fine if "bio" is the name of the
iterator.
parent 65941fab
...@@ -485,7 +485,7 @@ static inline void blk_queue_bounce(request_queue_t *q, struct bio **bio) ...@@ -485,7 +485,7 @@ static inline void blk_queue_bounce(request_queue_t *q, struct bio **bio)
#define rq_for_each_bio(_bio, rq) \ #define rq_for_each_bio(_bio, rq) \
if ((rq->bio)) \ if ((rq->bio)) \
for (_bio = (rq)->bio; _bio; _bio = bio->bi_next) for (_bio = (rq)->bio; _bio; _bio = _bio->bi_next)
struct sec_size { struct sec_size {
unsigned block_size; unsigned block_size;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment