[dm-devel] [PATCH 08/12] dm: dm.c: replace 'bio->bi_vcnt == 1' with !bio_multiple_segments

Mike Snitzer snitzer at redhat.com
Mon Nov 21 14:50:17 UTC 2016


On Fri, Nov 11 2016 at  7:05am -0500,
Ming Lei <tom.leiming at gmail.com> wrote:

> Avoid to access .bi_vcnt directly, because the bio can be
> splitted from block layer, and .bi_vcnt should never have
> been used here.
> 
> Signed-off-by: Ming Lei <tom.leiming at gmail.com>

I've staged this for 4.10




More information about the dm-devel mailing list