diff options
author | David Sterba <dsterba@suse.com> | 2024-02-07 01:06:46 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2024-03-04 18:24:51 +0300 |
commit | 4839c386ced179fb1d6dbe41c31ecdd74c010563 (patch) | |
tree | 542efe0f9631aba69c597cc45483cd77a276f401 /scripts/gdb/linux/utils.py | |
parent | 56f335e043ae73c32dbb70ba95488845dc0f1e6e (diff) | |
download | linux-4839c386ced179fb1d6dbe41c31ecdd74c010563.tar.xz |
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 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions