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>
_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.