diff options
| author | Andrew Morton <akpm@osdl.org> | 2004-01-22 16:04:53 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.osdl.org> | 2004-01-22 16:04:53 -0800 |
| commit | 66cb679e17cf5730917cff2559412518ecd167f1 (patch) | |
| tree | 798ab0d4918c746656f4061e3cc2c101db05a74e /include | |
| parent | 65941fabe35694bae0a68e1ce8a9c5239298e90e (diff) | |
[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.
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/blkdev.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index 80b4c47842b8..d0ba766eca75 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h @@ -485,7 +485,7 @@ static inline void blk_queue_bounce(request_queue_t *q, struct bio **bio) #define rq_for_each_bio(_bio, rq) \ if ((rq->bio)) \ - for (_bio = (rq)->bio; _bio; _bio = bio->bi_next) + for (_bio = (rq)->bio; _bio; _bio = _bio->bi_next) struct sec_size { unsigned block_size; |
