btrfs-progs: dump-tree: print tree keys with -e

The incomplete tree description is printed with -e, glued to the leaf
information.

Signed-off-by: David Sterba <dsterba@suse.com>
master
David Sterba 2016-03-10 14:57:07 +01:00
parent 142041bb03
commit 078b4746cc
1 changed files with 3 additions and 0 deletions

View File

@ -412,6 +412,9 @@ again:
}
}
if (extent_only && !skip) {
printf(" tree ");
btrfs_print_key(&disk_key);
printf("\n");
print_extents(tree_root_scan, buf);
} else if (!skip) {
printf(" tree ");