2 # SPDX-License-Identifier: GPL-2.0
3 # Copyright (c) 2000-2005 Silicon Graphics, Inc. All Rights Reserved.
8 # Test out resetting of sb_qflags when mounting with no quotas after
9 # having mounted with quotas.
12 seqres=$RESULT_DIR/$seq
13 echo "QA output created by $seq"
17 status=1 # failure is the default!
18 trap "_cleanup; exit \$status" 0 1 2 3 15
26 # get standard environment, filters and checks
31 # real QA test starts here
38 # Only mount with the quota options we specify below
39 _qmount_option "defaults"
41 _scratch_mkfs >/dev/null 2>&1
42 _scratch_mount "-o uquota"
44 _scratch_xfs_db -r -c sb -c print | grep qflags
47 _scratch_xfs_db -r -c sb -c print | grep qflags