commit | 5062af35c3c6e49110ab1ec99295339259298a3d | [log] [tgz] |
---|---|---|
author | Filipe Manana <fdmanana@suse.com> | Thu May 05 10:26:26 2016 +0100 |
committer | Filipe Manana <fdmanana@suse.com> | Fri May 13 01:59:30 2016 +0100 |
tree | 21cbe4d6bc5a8b887a17d989e8ceb95ade8887f8 | |
parent | 376e5a57bf7f1466031a957d04bf8b8f6801ee6d [diff] |
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: Filipe Manana <fdmanana@suse.com>