diff options
author | 2024-01-24 16:18:11 +0100 | |
---|---|---|
committer | 2024-03-04 16:24:48 +0100 | |
commit | 3e1d51dd3dc0e93e34b0c0200cc054dff55b9514 (patch) | |
tree | 153d737155963f286b8d4bd0ee52c57c37d3f19c /fs/btrfs/ctree.c | |
parent | btrfs: change BUG_ON to assertion when verifying lockdep class setup (diff) | |
download | wireguard-linux-3e1d51dd3dc0e93e34b0c0200cc054dff55b9514.tar.xz wireguard-linux-3e1d51dd3dc0e93e34b0c0200cc054dff55b9514.zip |
btrfs: change BUG_ON to assertion when verifying root in btrfs_alloc_reserved_file_extent()
The file extents are normally reserved in subvolume roots but could be
also in the data reloc tree. Change the BUG_ON to assertions as this
verifies the usage assumptions.
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/ctree.c')
0 files changed, 0 insertions, 0 deletions