aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2021-11-22 15:50:29 -0500
committerEryu Guan <guaneryu@gmail.com>2021-11-28 22:15:02 +0800
commite4746f0dcd1ef26f42909cd4e5b89413954bebc6 (patch)
tree047a3c64de6248797c074d7b0ae9e63d3cb9c36f
parentd17a88e909568b044ada362ee19ca2d1dffc542c (diff)
downloadxfstests-dev-e4746f0dcd1ef26f42909cd4e5b89413954bebc6.tar.gz
btrfs/099: use the qgroupid for qgroup limit
A change to btrfs-progs uncovered a problem with btrfs/099, we weren't specifying the qgroupid with the subvol id. This technically worked before but only by accident, and all other tests properly specify the qgroupid for qgroup limit commands. Fix this test to specify the qgroupid, which will work with older versions of btrfs-progs and newer ones as well. Signed-off-by: Josef Bacik <josef@toxicpanda.com> Reviewed-by: Qu Wenruo <wqu@suse.com> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
-rwxr-xr-xtests/btrfs/0992
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/btrfs/099 b/tests/btrfs/099
index 375cc2b97f..f3a2002a07 100755
--- a/tests/btrfs/099
+++ b/tests/btrfs/099
@@ -29,7 +29,7 @@ _scratch_mount
_require_fs_space $SCRATCH_MNT $(($FILESIZE * 2 / 1024))
_run_btrfs_util_prog quota enable $SCRATCH_MNT
-_run_btrfs_util_prog qgroup limit $FILESIZE 5 $SCRATCH_MNT
+_run_btrfs_util_prog qgroup limit $FILESIZE 0/5 $SCRATCH_MNT
# loop 5 times without sync to ensure reserved space leak will happen
for i in `seq 1 5`; do