]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs_repair: check quota values if quota was loaded
authorDarrick J. Wong <darrick.wong@oracle.com>
Thu, 30 Jul 2020 00:15:27 +0000 (20:15 -0400)
committerEric Sandeen <sandeen@sandeen.net>
Thu, 30 Jul 2020 00:15:27 +0000 (20:15 -0400)
commit0a8d74d6d7bd12293f2f2dc3cc6e3bff12c3a1e4
treeaeb98d863590baf15fa7e0b899a8e5b3aec5ffa0
parentcfaac8d975790aad84a245a5536de0791af4c52c
xfs_repair: check quota values if quota was loaded

If the filesystem looks like it had up to date quota information, check
it against what's in the filesystem and report if we find discrepancies.
This closes one of the major gaps in corruptions that are detected by
xfs_check vs. xfs_repair.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
man/man8/xfs_repair.8
repair/Makefile
repair/phase7.c
repair/quotacheck.c [new file with mode: 0644]
repair/quotacheck.h [new file with mode: 0644]
repair/xfs_repair.c