summaryrefslogtreecommitdiff
path: root/convert
diff options
context:
space:
mode:
authorNikolay Borisov <nborisov@suse.com>2018-05-28 09:36:41 +0300
committerDavid Sterba <dsterba@suse.com>2018-06-07 16:37:36 +0200
commitb4c4ff9c4a15eb0d97ab9dd6f12f7bc9774d0d7b (patch)
tree0638f5a2dd682e2ba90a4ff4e0071dfd7e9e1f9d /convert
parent48663d6e64d596ea6214089140b65708b3112bf2 (diff)
btrfs-progs: check: Remove root parameter from btrfs_fix_block_accounting
It's always set to extent_root and the function already takes a transaction handle where fs_info could be referenced and in turn the extent_tree. 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 'convert')
-rw-r--r--convert/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/convert/main.c b/convert/main.c
index 80f3bed8..7077fcba 100644
--- a/convert/main.c
+++ b/convert/main.c
@@ -957,7 +957,7 @@ static int init_btrfs(struct btrfs_mkfs_config *cfg, struct btrfs_root *root,
ret = PTR_ERR(trans);
goto err;
}
- ret = btrfs_fix_block_accounting(trans, root);
+ ret = btrfs_fix_block_accounting(trans);
if (ret)
goto err;
ret = make_convert_data_block_groups(trans, fs_info, cfg, cctx);