commit | ed64f8343aafa62e762c74dfb400f640b6fa6c15 | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <darrick.wong@oracle.com> | Sun Nov 29 16:33:37 2020 -0800 |
committer | Darrick J. Wong <darrick.wong@oracle.com> | Wed Dec 09 09:49:38 2020 -0800 |
tree | 0725ff072c042c51601356c34f304ede6ecbcade | |
parent | c447ad62dc906f4b5f788e8ff20c1768ab2eab2c [diff] |
xfs: hoist recovered refcount intent checks out of xfs_cui_item_recover When we recover a refcount intent from the log, we need to validate its contents before we try to replay them. Hoist the checking code into a separate function in preparation to refactor this code to use validation helpers. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Brian Foster <bfoster@redhat.com>