summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/debug-tree.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2007-03-13 16:47:54 -0400
committerDavid Woodhouse <dwmw2@hera.kernel.org>2007-03-13 16:47:54 -0400
commit3768f3689fc76ecea17414936dff7a02746a4355 (patch)
tree0494b12e3ba0be0a25f122922e205bc91d88957b /fs/btrfs/debug-tree.c
parenteaee50e881b88766d9a781c54c4142456cf5e527 (diff)
downloadtalos-op-linux-3768f3689fc76ecea17414936dff7a02746a4355.tar.gz
talos-op-linux-3768f3689fc76ecea17414936dff7a02746a4355.zip
Btrfs: Change the super to point to a tree of trees to enable persistent snapshots
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/debug-tree.c')
-rw-r--r--fs/btrfs/debug-tree.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/btrfs/debug-tree.c b/fs/btrfs/debug-tree.c
index 6da0a7aa0f47..de45fb4dfddd 100644
--- a/fs/btrfs/debug-tree.c
+++ b/fs/btrfs/debug-tree.c
@@ -11,9 +11,11 @@ int main(int ac, char **av) {
struct btrfs_root *root;
radix_tree_init();
root = open_ctree("dbfile", &super);
- printf("root tree\n");
+ printf("fs tree\n");
btrfs_print_tree(root, root->node);
printf("map tree\n");
btrfs_print_tree(root->extent_root, root->extent_root->node);
+ printf("root tree\n");
+ btrfs_print_tree(root->tree_root, root->tree_root->node);
return 0;
}
OpenPOWER on IntegriCloud