aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBoris Burkov <boris@bur.io>2023-12-01 13:09:45 -0800
committerZorro Lang <zlang@kernel.org>2023-12-09 12:51:34 +0800
commitdd50c6276098ec568551a18c49cc3959d64f399e (patch)
tree425c85168b7937dabed275f0625c6f65d4d69799
parent86f0e4f7c18a1c99404b4aa1bd5bedee7ff72a1b (diff)
downloadxfstests-dev-dd50c6276098ec568551a18c49cc3959d64f399e.tar.gz
btrfs/303: use quota rescan wrapper
This new test called quota rescan directly rather than with the new wrapper. As a result, it failed with -O squota in MKFS_OPTIONS. Using the wrapper, it skips the rescan and passes again. Signed-off-by: Boris Burkov <boris@bur.io> Reviewed-by: Filipe Manana <fdmanana@suse.com> Signed-off-by: Zorro Lang <zlang@kernel.org>
-rwxr-xr-xtests/btrfs/3032
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/btrfs/303 b/tests/btrfs/303
index b9d6c61d17..410460af55 100755
--- a/tests/btrfs/303
+++ b/tests/btrfs/303
@@ -43,7 +43,7 @@ _scratch_mkfs >> $seqres.full 2>&1 || _fail "2nd mkfs failed"
_scratch_mount
$BTRFS_UTIL_PROG quota enable "$SCRATCH_MNT" >> $seqres.full
-$BTRFS_UTIL_PROG quota rescan -w "$SCRATCH_MNT" >> $seqres.full
+_qgroup_rescan $SCRATCH_MNT >> $seqres.full
# Create a qgroup for the first subvolume, this would make the later
# subvolume creation to find an existing qgroup, and abort transaction.