aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/extent-tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/extent-tree.c')
-rw-r--r--fs/btrfs/extent-tree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c
index 40692f61e4b6..c944b6e64e7a 100644
--- a/fs/btrfs/extent-tree.c
+++ b/fs/btrfs/extent-tree.c
@@ -1035,7 +1035,7 @@ static int convert_extent_item_v0(struct btrfs_trans_handle *trans,
1035 return ret; 1035 return ret;
1036 BUG_ON(ret); /* Corruption */ 1036 BUG_ON(ret); /* Corruption */
1037 1037
1038 btrfs_extend_item(trans, root, path, new_size); 1038 btrfs_extend_item(root, path, new_size);
1039 1039
1040 leaf = path->nodes[0]; 1040 leaf = path->nodes[0];
1041 item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_extent_item); 1041 item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_extent_item);
@@ -1683,7 +1683,7 @@ void setup_inline_extent_backref(struct btrfs_trans_handle *trans,
1683 type = extent_ref_type(parent, owner); 1683 type = extent_ref_type(parent, owner);
1684 size = btrfs_extent_inline_ref_size(type); 1684 size = btrfs_extent_inline_ref_size(type);
1685 1685
1686 btrfs_extend_item(trans, root, path, size); 1686 btrfs_extend_item(root, path, size);
1687 1687
1688 ei = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_extent_item); 1688 ei = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_extent_item);
1689 refs = btrfs_extent_refs(leaf, ei); 1689 refs = btrfs_extent_refs(leaf, ei);