diff options
author | Filipe Manana <fdmanana@suse.com> | 2024-02-09 12:25:43 +0000 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2024-03-04 16:24:50 +0100 |
commit | d23626d8bc4597836eb33d88dacbc3858df7e4d3 (patch) | |
tree | f00fa6b6efeeb3eeff8a54dd23d54a4e4efd29c4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | b5d563925903e40a4425dff64e53127554e5fcc6 (diff) |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions