Re: [PATCH 05/60] target: avoid to access .bi_vcnt directly
From: Christoph Hellwig
Date: Mon Oct 31 2016 - 11:26:50 EST
On Sat, Oct 29, 2016 at 04:08:04PM +0800, Ming Lei wrote:
> When the bio is full, bio_add_pc_page() will return zero,
> so use this way to handle full bio.
>
> Also replace access to .bi_vcnt for pr_debug() with bio_segments().
>
> Signed-off-by: Ming Lei <tom.leiming@xxxxxxxxx>
Looks fine,
Reviewed-by: Christoph Hellwig <hch@xxxxxx>