mirror of
https://github.com/kdave/btrfs-progs
synced 2025-04-08 10:11:16 +00:00
Btrfs-progs: make debug-tree spit out full_backref flag
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>
This commit is contained in:
parent
0b8aa1969b
commit
c6b388ef2d
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user