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

Btrfs: fix number of transaction units for renames with whiteout



When we do a rename with the whiteout flag, we need to create the whiteout
inode, which in the worst case requires 5 transaction units (1 inode item,
1 inode ref, 2 dir items and 1 xattr if selinux is enabled). So bump the
number of transaction units from 11 to 16 if the whiteout flag is set.

Signed-off-by: default avatarFilipe Manana <fdmanana@suse.com>
parent 376e5a57
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment