diff options
| author | 2026-09-30 15:37:00 +0100 | |
|---|---|---|
| committer | 2026-10-12 19:16:23 +0200 | |
| commit | 08f750d9f8930e4ca053913b5ca3fd49fd9268c9 (patch) | |
| tree | 3bef440ac9159f86aa946b365bf416194f28710c /scripts/Makefile.thinlto | |
| parent | btrfs: avoid overhead when logging messages if fs state is clean (diff) | |
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 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
