Re: [PATCH 4/7] xfs_repair: complain about unwritten extents when they're not appropriate

Christoph Hellwig
2020-09-08T19:07:32Z

On Mon, Sep 07, 2020 at 10:52:22AM -0700, Darrick J. Wong wrote:
> From: Darrick J. Wong <darrick.wong@oracle.com>
>
> We don't allow unwritten extents in the attr fork, and we don't allow
> them in the data fork except for regular files. Check that this is the
> case.
>
> Found by manually fuzzing the extentflag field of an attr fork to one.

Looks good:

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