path: root/mkfs
diff options
authorQu Wenruo <>2017-08-18 18:36:30 +0900
committerDavid Sterba <>2017-08-24 19:06:43 +0200
commit8698a2b9ba897be64aaefb38f22f96ecddbed1cb (patch)
tree774c09383435f4fa80f3f5c020d1f42615039b69 /mkfs
parentf65b6b156f04a28c7de0aa62d91228734aae63a8 (diff)
btrfs-progs: Allow inspect dump-tree to show specified tree block even some tree roots are corrupted
For btrfs inspect-internal dump-tree, if we use "-b" parameter to show specified tree block, then we don't really need extra tree roots. Only chunk root is needed to build up the whole chunk mapping so we can read tree blocks. This patch will add __OPEN_CTREE_RETURN_CHUNK_ROOT flag when show speicifed tree block. So even root tree is corrupted, we can still use inspect-internal dump-tree to do some debugging. Reported-by: Zirconium Hacker <> Signed-off-by: Qu Wenruo <> Signed-off-by: David Sterba <>
Diffstat (limited to 'mkfs')
0 files changed, 0 insertions, 0 deletions