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)
commit9269d12b2d57d9e3d13036bb750762d1110d425c
tree5fe57a6dab211c2aa0f98066a3f9076c9304b175
parentd50866d00fb39fcf72307001763ee9cc92625a43
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