diff options
| author | Mark Harmstone <mark@harmstone.com> | 2026-03-25 12:53:43 +0000 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2026-04-07 18:56:06 +0200 |
| commit | b753612be0dc64744d6b027c93d32b1f895196e2 (patch) | |
| tree | 13fe1ff2b2f12dc7241d4759051f833716e83483 /rust/kernel/interop/git@git.tavy.me:linux-stable.git | |
| parent | e3799e65c12e0fa0bb04193ace99ed9d2851abe7 (diff) | |
btrfs: tree-checker: add remap-tree checks to check_block_group_item()
Add some write-time checks for block group items relating to the remap
tree.
Here we're checking:
* That the REMAPPED or METADATA_REMAP flags aren't set unless the
REMAP_TREE incompat flag is also set
* That `remap_bytes` isn't more than the size of the block group
* That `identity_remap_count` isn't more than the number of sectors in
the block group
Signed-off-by: Mark Harmstone <mark@harmstone.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'rust/kernel/interop/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions
