diff options
author | David Sterba <dsterba@suse.com> | 2024-02-07 01:20:53 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2024-03-04 18:24:51 +0300 |
commit | f40a3ea94881f668084f68f6b9931486b1606db0 (patch) | |
tree | c38699096932da8f24ac51ccd777602abaa16ce4 /scripts/gdb/linux/utils.py | |
parent | 4839c386ced179fb1d6dbe41c31ecdd74c010563 (diff) | |
download | linux-f40a3ea94881f668084f68f6b9931486b1606db0.tar.xz |
btrfs: delete pointless BUG_ON check on quota root in btrfs_qgroup_account_extent()
The BUG_ON is deep in the qgroup code where we can expect that it
exists. A NULL pointer would cause a crash.
It was added long ago in 550d7a2ed5db35 ("btrfs: qgroup: Add new qgroup
calculation function btrfs_qgroup_account_extents()."). It maybe made
sense back then as the quota enable/disable state machine was not that
robust as it is nowadays, so we can just delete it.
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions