summaryrefslogtreecommitdiff
path: root/dir-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'dir-test.c')
-rw-r--r--dir-test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dir-test.c b/dir-test.c
index 54ddee2d..44f27587 100644
--- a/dir-test.c
+++ b/dir-test.c
@@ -435,7 +435,7 @@ int main(int ac, char **av)
struct btrfs_trans_handle *trans;
radix_tree_init();
- root = open_ctree(av[ac-1], &super);
+ root = open_ctree(av[ac-1], &super, 0);
trans = btrfs_start_transaction(root, 1);
dir_oid = btrfs_super_root_dir(&super);
@@ -478,7 +478,7 @@ int main(int ac, char **av)
btrfs_header_level(&root->node->node.header),
btrfs_header_nritems(&root->node->node.header));
close_ctree(root, &super);
- root = open_ctree("dbfile", &super);
+ root = open_ctree("dbfile", &super, 0);
}
while(count--) {
ret = ops[op](trans, root, &radix);