The test case tests just as much when just testing turning quota
enforcement off, so switch it to that. This is in preparation for
removing support to turn quota accounting off.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
mkdir -p $QUOTA_DIR
echo "*** turn off group quotas"
-xfs_quota -x -c 'off -g' $SCRATCH_MNT
+xfs_quota -x -c 'disable -g' $SCRATCH_MNT
rmdir $QUOTA_DIR
echo "*** umount"
_scratch_unmount
_qmount
mkdir -p $QUOTA_DIR
echo "*** turn off project quotas"
-xfs_quota -x -c 'off -p' $SCRATCH_MNT
+xfs_quota -x -c 'disable -p' $SCRATCH_MNT
rmdir $QUOTA_DIR
echo "*** umount"
_scratch_unmount
_qmount
mkdir -p $QUOTA_DIR
echo "*** turn off group/project quotas"
-xfs_quota -x -c 'off -gp' $SCRATCH_MNT
+xfs_quota -x -c 'disable -gp' $SCRATCH_MNT
rmdir $QUOTA_DIR
echo "*** umount"
_scratch_unmount