aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/sysfs.c
diff options
context:
space:
mode:
authorNaohiro Aota <[email protected]>2021-08-11 06:37:08 +0000
committerDavid Sterba <[email protected]>2021-08-23 11:19:16 +0000
commit939c7feb19217c752a4b368d35aae1ed98f40b61 (patch)
tree5257a5132311644ec4e9e62461cc0806b01bb6f7 /fs/btrfs/sysfs.c
parentbtrfs: do not do preemptive flushing if the majority is global rsv (diff)
downloadkernel-939c7feb19217c752a4b368d35aae1ed98f40b61.tar.gz
kernel-939c7feb19217c752a4b368d35aae1ed98f40b61.zip
btrfs: zoned: fix ordered extent boundary calculation
btrfs_lookup_ordered_extent() is supposed to query the offset in a file instead of the logical address. Pass the file offset from submit_extent_page() to calc_bio_boundaries(). Also, calc_bio_boundaries() relies on the bio's operation flag, so move the call site after setting it. Fixes: 390ed29b817e ("btrfs: refactor submit_extent_page() to make bio and its flag tracing easier") Reviewed-by: Qu Wenruo <[email protected]> Signed-off-by: Naohiro Aota <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/sysfs.c')
0 files changed, 0 insertions, 0 deletions