On Tue, Feb 09, 2021 at 09:31:14AM +0000, Christoph Hellwig wrote: > On Mon, Feb 08, 2021 at 08:11:44PM -0800, Darrick J. Wong wrote: > > From: Darrick J. Wong <djwong@xxxxxxxxxx> > > > > Make sure that we actually check the type and id of an ondisk dquot. > > This looks copied from the kernel code. Yeah, it might be time to refactor the quotacheck code into libxfs, though I suspect the biggest hurdle is that we'd have to port at least some of xfs_dquot along with it. --D > But otherwise looks fine: > > Reviewed-by: Christoph Hellwig <hch@xxxxxx>