]> www.infradead.org Git - users/hch/xfstests-dev.git/commitdiff
btrfs/303: use quota rescan wrapper
authorBoris Burkov <boris@bur.io>
Fri, 1 Dec 2023 21:09:45 +0000 (13:09 -0800)
committerZorro Lang <zlang@kernel.org>
Sat, 9 Dec 2023 04:51:34 +0000 (12:51 +0800)
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>
tests/btrfs/303

index b9d6c61d17cc03ca56457a5f53784392b702bae0..410460af55aba6964bf0d3e45d9979e02c07f1e3 100755 (executable)
@@ -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.