diff options
author | 2024-01-19 20:15:41 +0100 | |
---|---|---|
committer | 2024-03-04 16:24:48 +0100 | |
commit | 51d4be540054be32d7ce28b63ea9b84ac6ff1db2 (patch) | |
tree | caab4d0d46034ccbb17dfd9926b7c47d2fc9f71e /fs/btrfs/uuid-tree.c | |
parent | btrfs: change BUG_ON to assertion when checking for delayed_node root (diff) | |
download | wireguard-linux-51d4be540054be32d7ce28b63ea9b84ac6ff1db2.tar.xz wireguard-linux-51d4be540054be32d7ce28b63ea9b84ac6ff1db2.zip |
btrfs: defrag: change BUG_ON to assertion in btrfs_defrag_leaves()
The BUG_ON verifies a condition that should be guaranteed by the correct
use of the path search (with keep_locks and lowest_level set), an
assertion is the suitable check.
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/uuid-tree.c')
0 files changed, 0 insertions, 0 deletions