• Filipe Manana's avatar
    Btrfs: unpin log if rename operation fails · 3dc9e8f7
    Filipe Manana authored
    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: default avatarFilipe Manana <fdmanana@suse.com>
    3dc9e8f7
inode.c 273 KB