diff options
author | Filipe Manana <fdmanana@suse.com> | 2024-02-09 15:25:43 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2024-03-04 18:24:50 +0300 |
commit | d23626d8bc4597836eb33d88dacbc3858df7e4d3 (patch) | |
tree | f00fa6b6efeeb3eeff8a54dd23d54a4e4efd29c4 /scripts/gdb/linux/utils.py | |
parent | b5d563925903e40a4425dff64e53127554e5fcc6 (diff) | |
download | linux-d23626d8bc4597836eb33d88dacbc3858df7e4d3.tar.xz |
btrfs: use assertion instead of BUG_ON when adding/removing to delalloc list
When adding or removing and inode to/from the root's delalloc list,
instead of using a BUG_ON() to validate list emptiness, use ASSERT()
since this is to check logic errors rather than real errors.
Reviewed-by: Boris Burkov <boris@bur.io>
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions