]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: don't access the bio directly in the raid5/6 code
authorChristoph Hellwig <hch@lst.de>
Fri, 25 Nov 2016 08:07:47 +0000 (09:07 +0100)
committerDavid Sterba <dsterba@suse.com>
Wed, 30 Nov 2016 12:45:19 +0000 (13:45 +0100)
commit63804f32d7ee5c1f5179512ddce95f1415067381
tree2c739d8f63e213c17c0f6c45284c0daa345c9c58
parent9d06ba938511a32133e2913cedbc80ee2c060af1
btrfs: don't access the bio directly in the raid5/6 code

Just use bio_for_each_segment_all to iterate over all segments.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/raid56.c