summaryrefslogtreecommitdiff
path: root/find-root.c
diff options
context:
space:
mode:
Diffstat (limited to 'find-root.c')
-rw-r--r--find-root.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/find-root.c b/find-root.c
index 9ff342fc..20ff9721 100644
--- a/find-root.c
+++ b/find-root.c
@@ -351,7 +351,8 @@ static int find_root(struct btrfs_root *root)
offset = metadata_offset;
}
err = __btrfs_map_block(&root->fs_info->mapping_tree, READ,
- offset, &map_length, &type, &multi, 0);
+ offset, &map_length, &type,
+ &multi, 0, NULL);
if (err) {
offset += map_length;
continue;