From: Christoph Hellwig Date: Thu, 22 Jul 2021 07:38:27 +0000 (+0200) Subject: xfs/007: unmount after disabling quota X-Git-Tag: v2022.05.01~324 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=eae404046837686f1f942e8ec2f11be6ddc61804;p=xfstests-dev.git xfs/007: unmount after disabling quota With the pending patches to remove support for disabling quota accounting on a mounted file system we need to unmount the file system first before removing the quota files. Signed-off-by: Christoph Hellwig Reviewed-by: Darrick J. Wong Signed-off-by: Eryu Guan --- diff --git a/tests/xfs/007 b/tests/xfs/007 index 09268e8c..d1946524 100755 --- a/tests/xfs/007 +++ b/tests/xfs/007 @@ -41,6 +41,9 @@ do_test() _qmount echo "*** turn off $off_opts quotas" xfs_quota -x -c "off -$off_opts" $SCRATCH_MNT + _scratch_unmount + _qmount_option "" + _scratch_mount xfs_quota -x -c "remove -$off_opts" $SCRATCH_MNT echo "*** umount" _scratch_unmount