[PATCH 2/2] xfs/010: filter out bad finobt levels complaint

Darrick J. Wong
2021-04-28T04:09:06Z

From: Darrick J. Wong <djwong@kernel.org>

Since we're adding to xfs_repair the ability to warn about bad finobt
levels, filter that out.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
---
tests/xfs/010 | 1 +
1 file changed, 1 insertion(+)

diff --git a/tests/xfs/010 b/tests/xfs/010
index 95cc2555..a9394077 100755
--- a/tests/xfs/010
+++ b/tests/xfs/010
@@ -114,6 +114,7 @@ _corrupt_finobt_root $SCRATCH_DEV

filter_finobt_repair() {
sed -e '/^agi has bad CRC/d' \
+ -e '/^bad levels/d' \
-e '/^bad finobt block/d' | \
_filter_repair_lostblocks
}