projects
/
platform
/
upstream
/
btrfs-progs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
142041b
)
btrfs-progs: dump-tree: print tree keys with -e
author
David Sterba
<dsterba@suse.com>
Thu, 10 Mar 2016 13:57:07 +0000
(14:57 +0100)
committer
David Sterba
<dsterba@suse.com>
Mon, 14 Mar 2016 12:42:47 +0000
(13:42 +0100)
The incomplete tree description is printed with -e, glued to the leaf
information.
Signed-off-by: David Sterba <dsterba@suse.com>
cmds-inspect-dump-tree.c
patch
|
blob
|
history
diff --git
a/cmds-inspect-dump-tree.c
b/cmds-inspect-dump-tree.c
index
4614bbc
..
d55bff5
100644
(file)
--- a/
cmds-inspect-dump-tree.c
+++ b/
cmds-inspect-dump-tree.c
@@
-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 ");