Re: [PATCH v3 2/3] xfs: update dir3 leaf block metadata after swap

From: Christoph Hellwig
Date: Mon Dec 04 2023 - 02:19:02 EST


On Thu, Nov 30, 2023 at 12:05:15PM +0800, Jiachen Zhang wrote:
> return error;
> /*
> * Copy the last block into the dead buffer and log it.
> + * If xfs enable crc, the node/leaf block records its blkno, we
> + * must update it.

I'd rewrod this sentence as:

* On CRC-enabled file systems, also update the stamped in blkno.

Otherwise looks good:

Reviewed-by: Christoph Hellwig <hch@xxxxxx>