summaryrefslogtreecommitdiff
path: root/inode-item.c
diff options
context:
space:
mode:
Diffstat (limited to 'inode-item.c')
-rw-r--r--inode-item.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/inode-item.c b/inode-item.c
index 48f0e6f0..4c7ceac4 100644
--- a/inode-item.c
+++ b/inode-item.c
@@ -79,7 +79,7 @@ int btrfs_insert_inode_ref(struct btrfs_trans_handle *trans,
goto out;
old_size = btrfs_item_size_nr(path->nodes[0], path->slots[0]);
- ret = btrfs_extend_item(trans, root, path, ins_len);
+ ret = btrfs_extend_item(root, path, ins_len);
BUG_ON(ret);
ref = btrfs_item_ptr(path->nodes[0], path->slots[0],
struct btrfs_inode_ref);
@@ -354,7 +354,7 @@ int btrfs_insert_inode_extref(struct btrfs_trans_handle *trans,
name, name_len, NULL))
goto out;
- btrfs_extend_item(trans, root, path, ins_len);
+ btrfs_extend_item(root, path, ins_len);
ret = 0;
}