]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerSasha Levin <sasha.levin@oracle.com>
Wed, 13 Apr 2016 21:14:20 +0000 (17:14 -0400)
commita1f535acffbd95ae6ae81656e8bba39af094c3f0
tree92ec10121c1baf669ac32f381b3448dc888084ce
parente92c51b734d57e04f0c9b43106b5294834339be6
Btrfs: fix number of transaction units required to create symlink

[ Upstream commit 9269d12b2d57d9e3d13036bb750762d1110d425c ]

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>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
fs/btrfs/inode.c