Re: [PATCH 2/9] btrfs: don't access the bio directly in the raid5/6 code

2016-11-18 Thread Omar Sandoval
On Wed, Nov 16, 2016 at 01:52:09PM +0100, Christoph Hellwig wrote: > Just use bio_for_each_segment_all to iterate over all segments. > Besides the minor whitespace issue below, Reviewed-by: Omar Sandoval > Signed-off-by: Christoph Hellwig > --- >

[PATCH 2/9] btrfs: don't access the bio directly in the raid5/6 code

2016-11-16 Thread Christoph Hellwig
Just use bio_for_each_segment_all to iterate over all segments. Signed-off-by: Christoph Hellwig --- fs/btrfs/raid56.c | 16 ++-- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/fs/btrfs/raid56.c b/fs/btrfs/raid56.c index d016d4a..da941fb 100644 ---