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

From: Mike Snitzer
Date: Mon Nov 21 2016 - 09:50:28 EST


On Fri, Nov 11 2016 at 7:05am -0500,
Ming Lei <tom.leiming@xxxxxxxxx> 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@xxxxxxxxx>

I've staged this for 4.10