]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: convert BUG() for pending_del_nr into an ASSERT
authorJosef Bacik <josef@toxicpanda.com>
Fri, 3 Dec 2021 22:18:17 +0000 (17:18 -0500)
committerDavid Sterba <dsterba@suse.com>
Fri, 7 Jan 2022 13:18:25 +0000 (14:18 +0100)
commit44e6edd2defe40474e17f46d4022d87f336c81a6
tree922f9a6b5b4cf01e5c8bc96b1b22fb01f96d8f3f
parent2c9a724e414a65b7b50b7ef9b478886b4e6550a6
btrfs: convert BUG() for pending_del_nr into an ASSERT

This is a logic correctness check, convert it into an ASSERT() instead
of a BUG().

Reviewed-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/inode-item.c