diff options
| author | Filipe Manana <fdmanana@suse.com> | 2026-09-17 11:38:04 +0100 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2026-10-12 19:16:22 +0200 |
| commit | 7884a8f3279c28ff990e2eacd5c2479bb1c930d0 (patch) | |
| tree | 38177d24eba668efe780de853b3922c2fffb7dd7 /tools/perf/scripts/python | |
| parent | cf02c310d018c7e5363b80dfd68ffdf159f3c914 (diff) | |
| download | linux-7884a8f3279c28ff990e2eacd5c2479bb1c930d0.tar.gz linux-7884a8f3279c28ff990e2eacd5c2479bb1c930d0.zip | |
btrfs: fix off by one super block end offset calculation when writing super blocks
We are skipping the write of a super block mirror if its end offset
matches exactly the device's end offset. This happens because we are using
a greater than or equals comparison instead of just a greater than
comparison.
Fixes: 935e5cc935bc ("Btrfs: fix wrong disk size when writing super blocks")
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
