diff options
| author | Mark Harmstone <mark@harmstone.com> | 2026-01-07 17:09:03 +0300 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2026-02-03 09:54:34 +0300 |
| commit | c3d6dda60c9da79a108592b14560e326384dbf4e (patch) | |
| tree | a973f76ac185775aaf5f4f37d68898d2110876d5 /include/uapi/linux | |
| parent | 0b4d29fa98ca1a49c4498353253f857573871ba0 (diff) | |
| download | linux-c3d6dda60c9da79a108592b14560e326384dbf4e.tar.xz | |
btrfs: allow remapped chunks to have zero stripes
When a chunk has been fully remapped, we are going to set its
num_stripes to 0, as it will no longer represent a physical location on
disk.
Change tree-checker to allow for this, and fix read_one_chunk() to avoid
a divide by zero.
Reviewed-by: Boris Burkov <boris@bur.io>
Signed-off-by: Mark Harmstone <mark@harmstone.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions
