3 #include "kerncompat.h"
4 #include "radix-tree.h"
7 #include "print-tree.h"
9 int main(int ac
, char **av
) {
10 struct btrfs_super_block super
;
11 struct btrfs_root
*root
;
13 root
= open_ctree("dbfile", &super
);
15 btrfs_print_tree(root
, root
->node
);
17 btrfs_print_tree(root
->extent_root
, root
->extent_root
->node
);
18 printf("root tree\n");
19 btrfs_print_tree(root
->tree_root
, root
->tree_root
->node
);