diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2020-11-29 16:33:37 -0800 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2020-12-09 09:49:38 -0800 |
commit | 0d79781a1aa6a6a567e63294012eee2384f406f2 (patch) | |
tree | 69bbac8e979c773fa87ef713c3313fdc1cb5e10f /fs/xfs/kmem.h | |
parent | ed64f8343aafa62e762c74dfb400f640b6fa6c15 (diff) |
xfs: improve the code that checks recovered refcount intent items
The code that validates recovered refcount intent items is kind of a
mess -- it doesn't use the standard xfs type validators, and it doesn't
check for things that it should. Fix the validator function to use the
standard validation helpers and look for more types of obvious errors.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Diffstat (limited to 'fs/xfs/kmem.h')
0 files changed, 0 insertions, 0 deletions