summaryrefslogtreecommitdiff
path: root/print-tree.c
diff options
context:
space:
mode:
authorGui Hecheng <guihc.fnst@cn.fujitsu.com>2014-05-16 09:23:37 +0800
committerDavid Sterba <dsterba@suse.cz>2014-08-22 14:39:31 +0200
commitbddb8e0fd7b1502945772b2c4717def1ca30ea2e (patch)
tree4db5fb0df7cdb0afaf12d3d3d14d563997e99678 /print-tree.c
parent95586648c0c5c32a2e0d0dfd1120c1c72ccb5417 (diff)
btrfs-progs: add sys_chunk_array and backup roots info to show-super
Add sys chunk array and backup roots info if the new option '-f' if specified. This may be useful for debugging sys_chunk related issues. Signed-off-by: Gui Hecheng <guihc.fnst@cn.fujitsu.com> Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'print-tree.c')
-rw-r--r--print-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/print-tree.c b/print-tree.c
index 7263b09a..d46ab422 100644
--- a/print-tree.c
+++ b/print-tree.c
@@ -160,7 +160,7 @@ static int print_inode_ref_item(struct extent_buffer *eb, struct btrfs_item *ite
return 0;
}
-static void print_chunk(struct extent_buffer *eb, struct btrfs_chunk *chunk)
+void print_chunk(struct extent_buffer *eb, struct btrfs_chunk *chunk)
{
int num_stripes = btrfs_chunk_num_stripes(eb, chunk);
int i;