Skip to content
Commit 44a6c343 authored by David Sterba's avatar David Sterba
Browse files

btrfs: return errors from unpin_extent_range()



Handle the lookup failure of the block group to unpin, this is a logic
error as the block group must exist at this point. If not, something else
must have freed it, like clean_pinned_extents() would do without locking
the unused_bg_unpin_mutex.

Push the errors to the callers, proper handling will be done in followup
patches.

Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent c03c89f8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment