]> git.hungrycats.org Git - linux/commit
[PATCH] rq_for_each_bio fix
authorAndrew Morton <akpm@osdl.org>
Mon, 19 Jan 2004 13:14:46 +0000 (05:14 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Mon, 19 Jan 2004 13:14:46 +0000 (05:14 -0800)
commit6c5703d5677a3f5b8f74aa08c1e46d200a6e21b5
tree87ea8ffe4c3ff61cc59039b1c43848b904e12d23
parent489a867c51086cadf495bc6aa0839ef090fa740f
[PATCH] rq_for_each_bio fix

From: Xavier Bestel <xavier.bestel@free.fr>

Within the body of this macro we are accessing rq->bio, but `bio' is an arg
to the macro.  If someone uses this macro with some variable which is not
named `bio' it won't compile.

So use a more-likely-to-be-unique identifier for the macro.
include/linux/blkdev.h