diff options
author | David Sterba <dsterba@suse.com> | 2024-02-06 23:06:46 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2024-03-04 16:24:51 +0100 |
commit | 4839c386ced179fb1d6dbe41c31ecdd74c010563 (patch) | |
tree | 542efe0f9631aba69c597cc45483cd77a276f401 /fs/btrfs/backref.c | |
parent | 56f335e043ae73c32dbb70ba95488845dc0f1e6e (diff) |
btrfs: change BUG_ONs to assertions in btrfs_qgroup_trace_subtree()
The only caller do_walk_down() of btrfs_qgroup_trace_subtree() validates
the value of level and uses it several times before it's passed as an
argument. Same for root_eb that's called 'next' in the caller.
Change both BUG_ONs to assertions as this is to assure proper interface
use rather than real errors.
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/backref.c')
0 files changed, 0 insertions, 0 deletions