xfs/030: hide the btree levels check errors

Newer versions of xfsprogs now complain if the rmap and refcount btree
levels are insane, so hide that error from the golden output.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
Darrick J. Wong
2020-10-27 12:02:15 -07:00
committed by Eryu Guan
parent e97f96e55f
commit 60d9b58605
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -45,6 +45,7 @@ s/(bad length -{0,1}\d+ for ag. 0, should be) (\d+)/\1 LENGTH/;
s/(bad length # -{0,1}\d+ for ag. 0, should be) (\d+)/\1 LENGTH/;
s/(bad agbno) (\d+)/\1 AGBNO/g;
s/(max =) (\d+)/\1 MAX/g;
s/(bad levels) (\d+) (for [a-z]* root, agno) (\d+)/\1 LEVELS \3 AGNO/;
# for root inos
s/(on inode) (\d+)/\1 INO/g;
s/(imap claims a free inode) (\d+)/\1 INO/;
+1
View File
@@ -45,6 +45,7 @@ _check_ag()
-e '/^agf has bad CRC/d' \
-e '/^agi has bad CRC/d' \
-e '/^Missing reverse-mapping record.*/d' \
-e '/^bad levels LEVELS for [a-z]* root.*/d' \
-e '/^unknown block state, ag AGNO, block.*/d'
done
}