Re: [PATCH 02/16] xfs_repair: warn when we would have rebuilt a directory

Christoph Hellwig
2020-05-09T17:09:12Z

On Sat, May 09, 2020 at 09:30:05AM -0700, Darrick J. Wong wrote:
> From: Darrick J. Wong <darrick.wong@oracle.com>
>
> longform_dir2_entry_check should warn the user when we would have
> rebuilt a directory had -n not been given on the command line. The
> missing warning results in repair returning 0 (all clean) when in fact
> there were things that it would have fixed.
>
> Found by running xfs/496 against lents[0].hashval = middlebit.

Looks good,

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