As of July 2024, xfs_repair can detect more types of corruptions than
xfs_check does. I don't think it makes sense to maintain the xfs_check
code anymore, so let's just turn it off for any filesystem that has
metadata directory trees.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
dbprefix = oldprefix;
return 0;
}
+
+ if (xfs_has_metadir(mp)) {
+ dbprefix = oldprefix;
+ return 0;
+ }
+
check_rootdir();
/*
* Check that there are no blocks either