Re: [PATCH 6/6] xfs/305: don't turn quota accounting off

Darrick J. Wong
2021-07-14T23:28:43Z

On Mon, Jul 12, 2021 at 01:11:46PM +0200, Christoph Hellwig wrote:
> 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>

Looks good to me,
Reviewed-by: Darrick J. Wong <djwong@kernel.org>

--D

> ---
> tests/xfs/305 | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/xfs/305 b/tests/xfs/305
> index 140557a0..0b89499a 100755
> --- a/tests/xfs/305
> +++ b/tests/xfs/305
> @@ -38,7 +38,7 @@ _exercise()
>
> $FSSTRESS_PROG -d $QUOTA_DIR -n 1000000 -p 100 $FSSTRESS_AVOID >/dev/null 2>&1 &
> sleep 10
> - xfs_quota -x -c "off -$type" $SCRATCH_DEV
> + xfs_quota -x -c "disable -$type" $SCRATCH_DEV
> sleep 5
> $KILLALL_PROG -q $FSSTRESS_PROG
> wait
> --
> 2.30.2
>