Skip to content
Commit 86e8aa0e authored by Filipe Manana's avatar Filipe Manana
Browse files

Btrfs: unpin logs if rename exchange operation fails



If rename exchange operations fail at some point after we pinned any of
the logs, we end up aborting the current transaction but never unpin the
logs, which leaves concurrent tasks that are trying to sync the logs (as
part of an fsync request from user space) blocked forever and preventing
the filesystem from being unmountable.

Fix this by safely unpinning the log.

Signed-off-by: default avatarFilipe Manana <fdmanana@suse.com>
parent c9901618
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