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
39 # Only mount with the quota options we specify below
40 _qmount_option "defaults"
42 _scratch_mkfs >/dev/null 2>&1
43 _scratch_mount "-o uquota"
45 _scratch_xfs_db -r -c sb -c print | grep qflags
48 _scratch_xfs_db -r -c sb -c print | grep qflags