summaryrefslogtreecommitdiff
path: root/extent-tree.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2017-02-02 13:38:44 +0100
committerDavid Sterba <dsterba@suse.com>2017-03-08 13:00:47 +0100
commitc6eae415eef826a0e17642d737ec33a099b932cf (patch)
tree5a8ffc382f750b6a0910298b3ae895d5a7a5479b /extent-tree.c
parent4069aa73d333ea8b6436d593a0e18fc56071b4fe (diff)
btrfs-progs: drop unused argument from btrfs_extend_item
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'extent-tree.c')
-rw-r--r--extent-tree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/extent-tree.c b/extent-tree.c
index 9c0ecb36..f9ab1d67 100644
--- a/extent-tree.c
+++ b/extent-tree.c
@@ -574,7 +574,7 @@ static int convert_extent_item_v0(struct btrfs_trans_handle *trans,
return ret;
BUG_ON(ret);
- ret = btrfs_extend_item(trans, root, path, new_size);
+ ret = btrfs_extend_item(root, path, new_size);
BUG_ON(ret);
leaf = path->nodes[0];
@@ -1188,7 +1188,7 @@ static int setup_inline_extent_backref(struct btrfs_trans_handle *trans,
type = extent_ref_type(parent, owner);
size = btrfs_extent_inline_ref_size(type);
- ret = btrfs_extend_item(trans, root, path, size);
+ ret = btrfs_extend_item(root, path, size);
BUG_ON(ret);
ei = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_extent_item);