]> 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)
committerJiri Slaby <jslaby@suse.cz>
Thu, 3 Mar 2016 11:46:01 +0000 (12:46 +0100)
commit6f751109450760d466d678ea4971e54b0bb63273
treefbe6149d9b4375ef6add93214f5590c3873d6891
parent6aa9b83f7f4370a314753b30ba2010472963b66a
Btrfs: fix number of transaction units required to create symlink

commit 9269d12b2d57d9e3d13036bb750762d1110d425c upstream.

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: Jiri Slaby <jslaby@suse.cz>
fs/btrfs/inode.c