Message ID | 1423512199-16552-15-git-send-email-jbacik@fb.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
diff --git a/print-tree.c b/print-tree.c index 3a7c13c..931a321 100644 --- a/print-tree.c +++ b/print-tree.c @@ -312,6 +312,10 @@ static void extent_flags_to_str(u64 flags, char *ret) } strcat(ret, "TREE_BLOCK"); } + if (flags & BTRFS_BLOCK_FLAG_FULL_BACKREF) { + strcat(ret, "|"); + strcat(ret, "FULL_BACKREF"); + } } void print_extent_item(struct extent_buffer *eb, int slot, int metadata)
Currently btrfs-debug-tree ignores the FULL_BACKREF flag which makes it hard to figure out problems related to FULL_BACKREF. Thanks, Signed-off-by: Josef Bacik <jbacik@fb.com> --- print-tree.c | 4 ++++ 1 file changed, 4 insertions(+)