Re: [PATCH v2] block: fix regression where bio_integrity_process uses wrong bio_vec iterator
From: Martin K. Petersen
Date: Tue Nov 25 2014 - 23:57:31 EST
>>>>> "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>
--
Martin K. Petersen Oracle Linux Engineering
--
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/