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

btrfs: handle errors returned from unpin_extent_cache()



We've had numerous attempts to let function unpin_extent_cache() return
void as it only returns 0. There are still error cases to handle so do
that, in addition to the verbose messages. The only caller
btrfs_finish_one_ordered() will now abort the transaction, previously it
let it continue which could lead to further problems.

Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent 835cd826
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