diff options
author | Josef Bacik <[email protected]> | 2023-08-17 16:57:32 -0400 |
---|---|---|
committer | David Sterba <[email protected]> | 2023-08-21 14:54:49 +0200 |
commit | f345dbdf2c9c4733d52b9389da6c02672f3b8672 (patch) | |
tree | 43f3a53660f3a0270091934e77491d796e7b31de /rust/helpers.c | |
parent | 89c3760428db0342edf2747240419c9b34db3485 (diff) |
btrfs: tests: add a test for btrfs_add_extent_mapping
This helper is different from the normal add_extent_mapping in that it
will stuff an em into a gap that exists between overlapping em's in the
tree. It appeared there was a bug so I wrote a self test to validate it
did the correct thing when it worked with two side by side ems.
Thankfully it is correct, but more testing is better.
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