diff options
author | Filipe Manana <fdmanana@suse.com> | 2023-12-04 16:20:25 +0000 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2023-12-15 22:59:01 +0100 |
commit | eca3aaec0de1e7059340f906a0741a68c1cf9e2b (patch) | |
tree | 5edf754ac11fdacfe990bce6d157e400a981ef3e /fs/btrfs/extent_map.c | |
parent | b30aa1c176ba86a035d40c2d2f12dc0e0f687e0e (diff) | |
download | linux-eca3aaec0de1e7059340f906a0741a68c1cf9e2b.tar.gz linux-eca3aaec0de1e7059340f906a0741a68c1cf9e2b.tar.bz2 linux-eca3aaec0de1e7059340f906a0741a68c1cf9e2b.zip |
btrfs: tests: do not ignore NULL extent maps for extent maps tests
Several of the extent map tests call btrfs_add_extent_mapping() which is
supposed to succeed and return an extent map through the pointer to
pointer argument. However the tests are deliberately ignoring a NULL
extent map, which is not expected to happen. So change the tests to error
out if a NULL extent map is found.
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/extent_map.c')
0 files changed, 0 insertions, 0 deletions