From: Boris Burkov Date: Fri, 1 Dec 2023 21:09:45 +0000 (-0800) Subject: btrfs/303: use quota rescan wrapper X-Git-Tag: v2023.12.10~10 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=dd50c6276098ec568551a18c49cc3959d64f399e;p=xfstests-dev.git 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 Reviewed-by: Filipe Manana Signed-off-by: Zorro Lang --- diff --git a/tests/btrfs/303 b/tests/btrfs/303 index b9d6c61d..410460af 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.