diff options
author | David Sterba <[email protected]> | 2024-01-19 20:44:57 +0100 |
---|---|---|
committer | David Sterba <[email protected]> | 2024-03-04 16:24:47 +0100 |
commit | c093bf306562c34d1c71f89897bb9220f44f5e4c (patch) | |
tree | 802606468f0a11defe5aa02b7c5e9a2df12b00e1 /lib/netdev-notifier-error-inject.c | |
parent | 1686570265559ebfa828c1b784a31407ec2877bd (diff) |
btrfs: handle invalid range and start in merge_extent_mapping()
Turn a BUG_ON to a properly handled error and update the error message
in the caller. It is expected that @em_in and @start passed to
btrfs_add_extent_mapping() overlap. Besides tests, the only caller
btrfs_get_extent() makes sure this is true.
Reviewed-by: Josef Bacik <[email protected]>
Reviewed-by: Anand Jain <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions