summaryrefslogtreecommitdiff
path: root/fs/btrfs/quick-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/quick-test.c')
-rw-r--r--fs/btrfs/quick-test.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/btrfs/quick-test.c b/fs/btrfs/quick-test.c
index d676577185d5..ef12cf888783 100644
--- a/fs/btrfs/quick-test.c
+++ b/fs/btrfs/quick-test.c
@@ -172,7 +172,8 @@ int main(int ac, char **av) {
printf("tree size is now %d\n", tree_size);
printf("root %p commit root %p\n", root->node, root->commit_root);
printf("map tree\n");
- btrfs_print_tree(root->extent_root, root->extent_root->node);
+ btrfs_print_tree(root->fs_info->extent_root,
+ root->fs_info->extent_root->node);
close_ctree(root, &super);
return 0;
}