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

Btrfs: fix inode leak on failure to setup whiteout inode in rename



If we failed to fully setup the whiteout inode during a rename operation
with the whiteout flag, we ended up leaking the inode, not decrementing
its link count nor removing all its items from the fs/subvol tree.

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