From: NeilBrown Date: Tue, 25 Sep 2007 10:35:59 +0000 (+0200) Subject: Introduce rq_for_each_segment replacing rq_for_each_bio X-Git-Tag: v2.6.24-rc1~1460^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5705f7021748a69d84d6567e68e8851dab551464;p=pandora-kernel.git Introduce rq_for_each_segment replacing rq_for_each_bio Every usage of rq_for_each_bio wraps a usage of bio_for_each_segment, so these can be combined into rq_for_each_segment. We define "struct req_iterator" to hold the 'bio' and 'index' that are needed for the double iteration. Signed-off-by: Neil Brown Various compile fixes by me... Signed-off-by: Jens Axboe --- Reading git-diff-tree failed