Re: [PATCH 05/10] xfs: hoist recovered refcount intent checks out of xfs_cui_item_recover

Christoph Hellwig
2020-12-01T10:06:45Z

On Mon, Nov 30, 2020 at 07:38:10PM -0800, Darrick J. Wong wrote:
> From: Darrick J. Wong <darrick.wong@oracle.com>
>
> 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>

Looks good,

Reviewed-by: Christoph Hellwig <hch@lst.de>