diff mbox

[7/7] misc: filter out quota regeneration messages

Message ID 153067989145.28393.919913817035657015.stgit@magnolia (mailing list archive)
State Accepted
Headers show

Commit Message

Darrick J. Wong July 4, 2018, 4:51 a.m. UTC
From: Darrick J. Wong <darrick.wong@oracle.com>

Filter out quota regeneration messages from xfs_repair when we check the
filesystem, because the xfs tests that encode xfs_repair output in the
golden output will fail when quotas are enabled and the xfs_repair quota
messages appear.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
---
 common/repair |    1 +
 1 file changed, 1 insertion(+)



--
To unsubscribe from this list: send the line "unsubscribe linux-xfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/common/repair b/common/repair
index 6bbaffbe..c94939c9 100644
--- a/common/repair
+++ b/common/repair
@@ -81,6 +81,7 @@  s/(superblock) (\d+)/\1 AGNO/;
 s/(AG \#)(\d+)/\1AGNO/;
 s/(reset bad sb for ag) (\d+)/\1 AGNO/;
 s/(unknown block state, ag )(\d+)(, block )(\d+)/\1AGNO\3AGBNO/;
+/^Note - quota info will be regenerated on next quota mount.$/ && next;
 	print;'
 }