commit | 3dc9e8f76720fbbd9c56a11775932733fe13d214 | [log] [tgz] |
---|---|---|
author | Filipe Manana <fdmanana@suse.com> | Fri Apr 29 11:34:22 2016 +0100 |
committer | Filipe Manana <fdmanana@suse.com> | Fri May 13 01:59:18 2016 +0100 |
tree | da778eb649c5ba5fada99372055777fd62ae09f7 | |
parent | 9cfa3e34e20e6798a671236000d9e97c8aa5d318 [diff] |
Btrfs: unpin log if rename operation fails If rename operations fail at some point after we pinned the log, we end up aborting the current transaction but never unpin the log, which leaves concurrent tasks that are trying to sync the log (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: Filipe Manana <fdmanana@suse.com>