diff options
| author | Qu Wenruo <wqu@suse.com> | 2026-07-28 19:34:09 +0930 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2026-08-07 19:17:18 +0200 |
| commit | 681e073614515b892cacef0eeec0c761a2c2ab87 (patch) | |
| tree | 19c490a27b086220d01dd36cc6f5d1e9b15b9eb3 /tools/perf/scripts/python | |
| parent | db4b9eefc8ee0bcaeee4d5e6a7313905f6a2fe7c (diff) | |
btrfs: use aligned range for locking in extent_fiemap()
The @end parameter for all extent io tree helpers is inclusive, but
the call site in extent_fiemap() is passing an exclusive end into
btrfs_lock_extent(), which will step into the next block unexpectedly.
Pass the inclusive end into btrfs_lock_extent() and
btrfs_unlock_extent().
Fixes: ac3c0d36a2a2 ("btrfs: make fiemap more efficient and accurate reporting extent sharedness")
Reviewed-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
