commit | 4989d277eb4b36cc1aacf72725b53977c6b5260d | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Fri Nov 25 09:07:52 2016 +0100 |
committer | David Sterba <dsterba@suse.com> | Wed Nov 30 13:45:20 2016 +0100 |
tree | 522e668859003d0e95f9cd3ff68171021d8e04c1 | |
parent | 2a4d0c9068a6cbd94086953e45625505891490b2 [diff] |
btrfs: refactor __btrfs_lookup_bio_sums to use bio_for_each_segment_all Rework the loop a little bit to use the generic bio_for_each_segment_all helper for iterating over the bio. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Omar Sandoval <osandov@fb.com> Signed-off-by: David Sterba <dsterba@suse.com>