From 075587c96c2f39e227847d13ca0ef305b13cd7d3 Mon Sep 17 00:00:00 2001 From: Chris Mason Date: Tue, 6 Apr 2010 09:30:17 -0400 Subject: Btrfs: add btrfs-debug-tree -b to print a single block --- quick-test.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'quick-test.c') diff --git a/quick-test.c b/quick-test.c index 351c7061..fa6fd838 100644 --- a/quick-test.c +++ b/quick-test.c @@ -85,7 +85,7 @@ int main(int ac, char **av) { fprintf(stderr, "search %d:%d\n", num, i); ret = btrfs_search_slot(NULL, root, &ins, &path, 0, 0); if (ret) { - btrfs_print_tree(root, root->node); + btrfs_print_tree(root, root->node, 1); printf("unable to find %d\n", num); exit(1); } @@ -148,7 +148,7 @@ int main(int ac, char **av) { fprintf(stderr, "search %d:%d\n", num, i); ret = btrfs_search_slot(NULL, root, &ins, &path, 0, 0); if (ret) { - btrfs_print_tree(root, root->node); + btrfs_print_tree(root, root->node, 1); printf("unable to find %d\n", num); exit(1); } @@ -196,7 +196,7 @@ int main(int ac, char **av) { btrfs_commit_transaction(trans, root); printf("tree size is now %d\n", tree_size); printf("root %p commit root %p\n", root->node, root->commit_root); - btrfs_print_tree(root, root->node); + btrfs_print_tree(root, root->node, 1); close_ctree(root); return 0; } -- cgit v1.2.3