summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2026-09-30 15:37:00 +0100
committerDavid Sterba <dsterba@suse.com>2026-10-12 19:16:23 +0200
commit08f750d9f8930e4ca053913b5ca3fd49fd9268c9 (patch)
tree3bef440ac9159f86aa946b365bf416194f28710c /tools/perf/scripts/python
parent22bdddf40e046e1c9a9c690a2bc3b4790578ad24 (diff)
downloadlinux-08f750d9f8930e4ca053913b5ca3fd49fd9268c9.tar.gz
linux-08f750d9f8930e4ca053913b5ca3fd49fd9268c9.zip
btrfs: fix off-by-one end offset check in report_setget_bounds()
The addressable range with an extent buffer goes from byte 0 to byte eb->len - 1, so if a byte address matches eb->len, it's already beyond the addressable range and we should log that it's bad start address and not end address. Fixes: 234fdd2815ce ("btrfs: remove redundant check in up check_setget_bounds") Reviewed-by: Qu Wenruo <wqu@suse.com> Reviewed-by: Daniel Vacek <neelx@suse.com> Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions