Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 28cb13f2 authored by Filipe Manana's avatar Filipe Manana Committed by David Sterba
Browse files

btrfs: don't BUG_ON() when 0 reference count at btrfs_lookup_extent_info()


Instead of doing a BUG_ON() handle the error by returning -EUCLEAN,
aborting the transaction and logging an error message.

Reviewed-by: default avatarQu Wenruo <wqu@suse.com>
Signed-off-by: default avatarFilipe Manana <fdmanana@suse.com>
Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent 5c83b3be
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