Update both of these tests to filter out the new error messages from
repair when the inode btree counter feature is enabled.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
_corrupt_finobt_root $SCRATCH_DEV
filter_finobt_repair() {
- sed -e '/^agi has bad CRC/d' | \
+ sed -e '/^agi has bad CRC/d' \
+ -e '/^bad finobt block/d' | \
_filter_repair_lostblocks
}
-e '/^bad agbno AGBNO for refcntbt/d' \
-e '/^agf has bad CRC/d' \
-e '/^agi has bad CRC/d' \
+ -e '/^bad inobt block count/d' \
+ -e '/^bad finobt block count/d' \
-e '/^Missing reverse-mapping record.*/d' \
-e '/^bad levels LEVELS for [a-z]* root.*/d' \
-e '/^unknown block state, ag AGNO, block.*/d'