]> 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)
commitb1920100ead9ec3846f7c02ed6a8ab45dd43e5f1
tree5fe57a6dab211c2aa0f98066a3f9076c9304b175
parent889ee42f7cc24c6c45c395bb153dab6199fd3206
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