|
@@ -9660,9 +9660,11 @@ static int btrfs_symlink(struct inode *dir, struct dentry *dentry,
|
|
|
/*
|
|
|
* 2 items for inode item and ref
|
|
|
* 2 items for dir items
|
|
|
+ * 1 item for updating parent inode item
|
|
|
+ * 1 item for the inline extent item
|
|
|
* 1 item for xattr if selinux is on
|
|
|
*/
|
|
|
- trans = btrfs_start_transaction(root, 5);
|
|
|
+ trans = btrfs_start_transaction(root, 7);
|
|
|
if (IS_ERR(trans))
|
|
|
return PTR_ERR(trans);
|
|
|
|