diff options
| author | 2025-09-12 15:43:21 +0900 | |
|---|---|---|
| committer | 2025-11-05 20:00:06 +0100 | |
| commit | 94f54924b96d3565c6b559294b3401b5496c21ac (patch) | |
| tree | 65b3021b09dd3cd8c5dd3348ff1230440f82d744 /fs/btrfs/tree-log.c | |
| parent | btrfs: mark dirty extent range for out of bound prealloc extents (diff) | |
| download | wireguard-linux-94f54924b96d3565c6b559294b3401b5496c21ac.tar.xz wireguard-linux-94f54924b96d3565c6b559294b3401b5496c21ac.zip | |
btrfs: zoned: fix conventional zone capacity calculation
When a block group contains both conventional zone and sequential zone, the
capacity of the block group is wrongly set to the block group's full
length. The capacity should be calculated in btrfs_load_block_group_* using
the last allocation offset.
Fixes: 568220fa9657 ("btrfs: zoned: support RAID0/1/10 on top of raid stripe tree")
CC: stable@vger.kernel.org # v6.12+
Signed-off-by: Naohiro Aota <naohiro.aota@wdc.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/tree-log.c')
0 files changed, 0 insertions, 0 deletions
