aboutsummaryrefslogtreecommitdiff
path: root/rust/helpers.c
diff options
context:
space:
mode:
authorJosef Bacik <[email protected]>2023-08-17 16:57:33 -0400
committerDavid Sterba <[email protected]>2023-08-21 14:54:49 +0200
commit92e1229b204d66525ee95054188938142420324d (patch)
treed776c977f166f744beb0b7381769f6d2f3026706 /rust/helpers.c
parentf345dbdf2c9c4733d52b9389da6c02672f3b8672 (diff)
btrfs: tests: test invalid splitting when skipping pinned drop extent_map
This reproduces the bug fixed by "btrfs: fix incorrect splitting in btrfs_drop_extent_map_range", we were improperly calculating the range for the split extent. Add a test that exercises this scenario and validates that we get the correct resulting extent_maps in our tree. Reviewed-by: Filipe Manana <[email protected]> Signed-off-by: Josef Bacik <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions