summaryrefslogtreecommitdiff
path: root/extent-tree.c
diff options
context:
space:
mode:
authorNikolay Borisov <nborisov@suse.com>2018-05-28 09:36:46 +0300
committerDavid Sterba <dsterba@suse.com>2018-06-07 16:37:37 +0200
commit12e2280d7bef145859e4d208533056ec90af9a4e (patch)
treee3c096ebf8047f4064089eae36f7238e7f02c5f9 /extent-tree.c
parenta93d51ede72899694867d234b9f10cfee240974d (diff)
btrfs-progs: check: Remove unused root argument from btrfs_extent_post_op
This is no longer used by the callees of that function so remove it. Signed-off-by: Nikolay Borisov <nborisov@suse.com> Reviewed-by: Su Yue <suy.fnst@cn.fujitsu.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'extent-tree.c')
-rw-r--r--extent-tree.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/extent-tree.c b/extent-tree.c
index e06fe56..d90eb81 100644
--- a/extent-tree.c
+++ b/extent-tree.c
@@ -1426,8 +1426,7 @@ out:
return err;
}
-int btrfs_extent_post_op(struct btrfs_trans_handle *trans,
- struct btrfs_root *root)
+int btrfs_extent_post_op(struct btrfs_trans_handle *trans)
{
finish_current_insert(trans);
del_pending_extents(trans);
@@ -4012,7 +4011,7 @@ static int __btrfs_record_file_extent(struct btrfs_trans_handle *trans,
} else if (ret != -EEXIST) {
goto fail;
}
- btrfs_extent_post_op(trans, extent_root);
+ btrfs_extent_post_op(trans);
extent_bytenr = disk_bytenr;
extent_num_bytes = num_bytes;
extent_offset = 0;