summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2024-02-09 15:25:43 +0300
committerDavid Sterba <dsterba@suse.com>2024-03-04 18:24:50 +0300
commitd23626d8bc4597836eb33d88dacbc3858df7e4d3 (patch)
treef00fa6b6efeeb3eeff8a54dd23d54a4e4efd29c4 /scripts/gdb/linux/utils.py
parentb5d563925903e40a4425dff64e53127554e5fcc6 (diff)
downloadlinux-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