Skip to content
  • Filipe Manana's avatar
    Btrfs: unpin logs if rename exchange operation fails · 86e8aa0e
    Filipe Manana authored
    
    
    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>
    86e8aa0e