summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_dquot_item.h
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2022-10-31 10:32:53 -0700
committerDarrick J. Wong <djwong@kernel.org>2022-11-06 12:36:13 -0800
commit52b47d24927c17f8e935dead43f50e0913729a06 (patch)
treeed1d14c5451e1eb13bcc3213cfee50258b871da6 /fs/xfs/xfs_dquot_item.h
parent15e35208506fe75aa15588b060d3d5f72f800e80 (diff)
xfs: check record domain when accessing refcount records
Now that we've separated the startblock and CoW/shared extent domain in the incore refcount record structure, check the domain whenever we retrieve a record to ensure that it's still in the domain that we want. Depending on the circumstances, a change in domain either means we're done processing or that we've found a corruption and need to fail out. The refcount check in xchk_xref_is_cow_staging is redundant since _get_rec has done that for a long time now, so we can get rid of it. Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'fs/xfs/xfs_dquot_item.h')
0 files changed, 0 insertions, 0 deletions