On Tue, Nov 10, 2020 at 10:03:22AM -0800, Darrick J. Wong wrote: > From: Darrick J. Wong <darrick.wong@xxxxxxxxxx> > > If the caller passes in an extent size hint of zero, clear the inherit > flags because a hint value of zero is treated as not a hint. > > Otherwise, you get stupid stuff like: > $ mkfs.xfs -d cowextsize=0 /tmp/a.img -f > illegal CoW extent size hint 0, must be less than 9600. Looks good, Reviewed-by: Christoph Hellwig <hch@xxxxxx>