diff options
author | 2024-01-19 20:44:57 +0100 | |
---|---|---|
committer | 2024-03-04 16:24:47 +0100 | |
commit | c093bf306562c34d1c71f89897bb9220f44f5e4c (patch) | |
tree | 802606468f0a11defe5aa02b7c5e9a2df12b00e1 /fs/btrfs/delayed-inode.c | |
parent | btrfs: handle directory and dentry mismatch in btrfs_may_delete() (diff) | |
download | wireguard-linux-c093bf306562c34d1c71f89897bb9220f44f5e4c.tar.xz wireguard-linux-c093bf306562c34d1c71f89897bb9220f44f5e4c.zip |
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 <josef@toxicpanda.com>
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/delayed-inode.c')
0 files changed, 0 insertions, 0 deletions