Skip to content
Commit b3c958a3 authored by Josef Bacik's avatar Josef Bacik Committed by David Sterba
Browse files

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: default avatarJosef Bacik <josef@toxicpanda.com>
Reviewed-by: default avatarDavid Sterba <dsterba@suse.com>
Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent 313ab753
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment