• Josef Bacik's avatar
    Btrfs: handle errors in btrfs_orphan_cleanup · 66b4ffd1
    Josef Bacik authored
    If we cannot truncate an inode for some reason we will never delete the orphan
    item associated with that inode, which means that we will loop forever in
    btrfs_orphan_cleanup.  Instead of doing this just return error so we fail to
    mount.  It sucks, but hey it's better than hanging.  Thanks,
    Signed-off-by: default avatarJosef Bacik <josef@redhat.com>
    66b4ffd1
ctree.h 83.9 KB