btrfs-progs: fix the overly strict chunk type check on dump-tree
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | btrfs-progs: dump-tree: fix the chunk type check for system chunkscmds/ | +3 | 0 replies | |
| 2/2 | btrfs-progs: misc-tests: add a regression test case for dump treetests/ | +25 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] btrfs-progs: fix the overly strict chunk type check on dump-tree
Commit 408e45feb325 ("btrfs-progs: dump-tree: add extra chunk type checks") introduced a chunk type check before dumping the tree.
However it's too strict as I'm a total idiot, and forgot to we still need to dump chunk tree blocks.
Fix it and add a regression test.
Qu Wenruo (2):
btrfs-progs: dump-tree: fix the chunk type check for system chunks
btrfs-progs: misc-tests: add a regression test case for dump tree
cmds/inspect-dump-tree.c | 5 ++-- .../072-dump-tree-chunk-bytenr/test.sh | 25 +++++++++++++++++++ 2 files changed, 28 insertions(+), 2 deletions(-) create mode 100755 tests/misc-tests/072-dump-tree-chunk-bytenr/test.sh
--
2.54.0