diff options
author | Filipe Manana <[email protected]> | 2024-02-09 12:25:43 +0000 |
---|---|---|
committer | David Sterba <[email protected]> | 2024-03-04 16:24:50 +0100 |
commit | d23626d8bc4597836eb33d88dacbc3858df7e4d3 (patch) | |
tree | f00fa6b6efeeb3eeff8a54dd23d54a4e4efd29c4 /net/lapb/lapb_in.c | |
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 <[email protected]>
Reviewed-by: Qu Wenruo <[email protected]>
Signed-off-by: Filipe Manana <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions