]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: remove BUG_ON(ret) in alloc_reserved_tree_block
authorJosef Bacik <josef@toxicpanda.com>
Wed, 23 Feb 2022 19:06:43 +0000 (14:06 -0500)
committerDavid Sterba <dsterba@suse.com>
Mon, 14 Mar 2022 12:13:53 +0000 (13:13 +0100)
commit9320a32e63f7298fccab6574cdf6d7db8c900355
tree88c1648f8b7ecfd1838ef244ffa077c35345cc57
parentceb615c682252c37c585a5361429c5415832af71
btrfs: remove BUG_ON(ret) in alloc_reserved_tree_block

Switch this to an ASSERT() and return the error in the normal case.

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/extent-tree.c