xfs: check the ondisk space mapping behind a dquot
authorDarrick J. Wong <djwong@kernel.org>
Fri, 15 Dec 2023 18:03:44 +0000 (10:03 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Fri, 15 Dec 2023 18:03:44 +0000 (10:03 -0800)
commit7d1f0e167a067ed741dec08b7614d76893422b04
treecee6ae4790c0ee1fa13018e6431698519646d3b8
parentffd37b22bd2b7cca7749c85a0a08268158903e55
xfs: check the ondisk space mapping behind a dquot

Each xfs_dquot object caches the file offset and daddr of the ondisk
block that backs the dquot.  Make sure these cached values are the same
as the bmapi data, and that the block state is written.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/scrub/quota.c