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