Christoph Hellwig 6cd7ce4935 btrfs: don't access the bio directly in btrfs_csum_one_bio
Use bio_for_each_segment_all to iterate over the segments instead.
This requires a bit of reshuffling so that we only lookup up the ordered
item once inside the bio_for_each_segment_all loop.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: David Sterba <dsterba@suse.com>
2016-11-30 13:45:20 +01:00
..
2016-09-26 18:08:44 +02:00
2015-10-06 06:55:23 -07:00
2008-09-25 11:04:06 -04:00
2016-07-26 13:52:25 +02:00
2016-09-26 18:08:44 +02:00
2016-09-26 18:08:44 +02:00
2016-09-26 18:08:44 +02:00