Re: [PATCH v2] block: fix regression where bio_integrity_process uses wrong bio_vec iterator

From: Jens Axboe
Date: Tue Dec 02 2014 - 10:15:52 EST


On 11/25/2014 09:57 PM, Martin K. Petersen wrote:
"Darrick" == Darrick J Wong <darrick.wong@xxxxxxxxxx> writes:

Darrick> Therefore, teach bio_integrity_process() to use
Darrick> bio_for_each_segment() to iterate the bio_vecs, since the
Darrick> per-bio iterator tracks which bio_vecs are associated with that
Darrick> particular bio. The integrity handling code is effectively
Darrick> part of the "driver" (it's not the bio owner), so it must use
Darrick> the correct iterator function.

Acked-by: Martin K. Petersen <martin.petersen@xxxxxxxxxx>

Applied for 3.18.

--
Jens Axboe

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/