xfs: test xfsdump when an inode < root inode is present
PATCH v2 1/1 xfs: test xfsdump when an inode < root inode is present
From: Eric Sandeen <[email protected]>
This tests a longstanding bug where xfsdumps are not properly created when an inode is present on the filesytsem which has a lower number than the root inode.
Signed-off-by Eric Sandeen <[email protected]>
Signed-off-by Zorro Lang <[email protected]>
---
Hi,
The original author of this patch is Eric Sandeen, I just helped to send this V2 patch (Eric knew that) due to he's on long time PTO and we hope this case can be merged early.
I change this patch according to the review point [1] (from myself):
1) filter mkfs error output
2) chmod +x to this case file
Thanks,
Zorro
[1]
https://lore.kernel.org/fstests/20220214052519.xsmxb4d7mjcv2xod@zlang-mailbox/
common/dump | 1 + tests/xfs/543 | 63 +++++++++++++++++++++++++++++++++++++++++++++++ tests/xfs/543.out | 47 +++++++++++++++++++++++++++++++++++ 3 files changed, 111 insertions(+) create mode 100755 tests/xfs/543 create mode 100644 tests/xfs/543.out
common/dump +1 -0
@@ -219,6 +219,7 @@ _require_tape() _wipe_fs() { + [[ "$WIPE_FS" = "no" ]] && return _require_scratch _scratch_mkfs_xfs >>$seqres.full || _fail "mkfs failed"
tests/xfs/543 new file +63 -0
63 lines not on this page · raw message
tests/xfs/543.out new file +47 -0
47 lines not on this page · raw message
Signature · 1 line
2.31.1