]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: fix number of transaction units required to create symlink
authorFilipe Manana <fdmanana@suse.com>
Thu, 31 Dec 2015 18:16:29 +0000 (18:16 +0000)
committerFilipe Manana <fdmanana@suse.com>
Thu, 31 Dec 2015 18:18:40 +0000 (18:18 +0000)
commit000a887a92bad39b1e4f71e5e85a9568a0d4aef5
tree5fe57a6dab211c2aa0f98066a3f9076c9304b175
parente1b4e08d04c04c00aca07b0f0e849a36f0b3f92a
Btrfs: fix number of transaction units required to create symlink

We weren't accounting for the insertion of an inline extent item for the
symlink inode nor that we need to update the parent inode item (through
the call to btrfs_add_nondir()). So fix this by including two more
transaction units.

Signed-off-by: Filipe Manana <fdmanana@suse.com>
fs/btrfs/inode.c