summaryrefslogtreecommitdiff
path: root/debug-tree.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2007-10-15 16:24:39 -0400
committerDavid Woodhouse <dwmw2@hera.kernel.org>2007-10-15 16:24:39 -0400
commitf12d799856c27ba425db93e5829f6b858bc03561 (patch)
tree7ee33a139b1330c68ccfa593cda627f40bf21d8b /debug-tree.c
parentf6f922953798e6d2f5a864b48b4f37d998bb3a6d (diff)
Allow large blocks
Diffstat (limited to 'debug-tree.c')
-rw-r--r--debug-tree.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/debug-tree.c b/debug-tree.c
index edc74f26..5a85b080 100644
--- a/debug-tree.c
+++ b/debug-tree.c
@@ -54,7 +54,6 @@ int main(int ac, char **av) {
btrfs_init_path(&path);
key.offset = 0;
key.objectid = 0;
- key.flags = 0;
btrfs_set_key_type(&key, BTRFS_ROOT_ITEM_KEY);
ret = btrfs_search_slot(NULL, root->fs_info->tree_root,
&key, &path, 0, 0);
@@ -87,7 +86,7 @@ int main(int ac, char **av) {
}
printf("tree %llu %u %llu\n",
(unsigned long long)found_key.objectid,
- found_key.flags,
+ found_key.type,
(unsigned long long)found_key.offset);
btrfs_print_tree(root, buf);
}