diff options
| author | Christoph Hellwig <[email protected]> | 2016-11-25 09:07:49 +0100 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2016-11-30 13:45:20 +0100 |
| commit | 6cd7ce4935485c203e0bda815dbabb50e30f31e9 (patch) | |
| tree | d49921d165793b5cf6982ce8d0354cf5d2e6ff59 /net/lapb/lapb_in.c | |
| parent | 6a2de22f6babafd609b9356cdb0979eb5bb10564 (diff) | |
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 <[email protected]>
Reviewed-by: Omar Sandoval <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions