On Wed, Jul 15, 2020 at 11:45:25PM -0700, Darrick J. Wong wrote: > From: Darrick J. Wong <darrick.wong@xxxxxxxxxx> > > xfs_qm_reset_dqcounts (i.e. quotacheck) is the only xfs_dqblk_verify > caller that actually knows the specific quota type that it's looking > for. Since everything else just pass in type==0 (including the buffer > verifier), drop the parameter and open-code the check like > xfs_dquot_from_disk already does. > > Signed-off-by: Darrick J. Wong <darrick.wong@xxxxxxxxxx> Looks fine. Reviewed-by: Dave Chinner <dchinner@xxxxxxxxxx> -- Dave Chinner david@xxxxxxxxxxxxx