From: Darrick J. Wong Date: Thu, 20 Feb 2025 21:47:09 +0000 (-0800) Subject: xfs: update tests for quota files in the metadir X-Git-Tag: v2025.03.09~29 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=7e363bf2ca72b63074a2fc96e87204c73dd15315;p=xfstests-dev.git xfs: update tests for quota files in the metadir Update fstests to handle quota files in the metadir. Signed-off-by: "Darrick J. Wong" Reviewed-by: Christoph Hellwig Signed-off-by: Zorro Lang --- diff --git a/common/xfs b/common/xfs index 97bdf857..30d2f98c 100644 --- a/common/xfs +++ b/common/xfs @@ -1967,6 +1967,24 @@ _scratch_xfs_find_metafile() return 0 fi ;; + "uquotino") + if _xfs_has_feature "$SCRATCH_DEV" metadir; then + echo "path -m /quota/user" + return 0 + fi + ;; + "gquotino") + if _xfs_has_feature "$SCRATCH_DEV" metadir; then + echo "path -m /quota/group" + return 0 + fi + ;; + "pquotino") + if _xfs_has_feature "$SCRATCH_DEV" metadir; then + echo "path -m /quota/project" + return 0 + fi + ;; esac sb_field="$(_scratch_xfs_get_sb_field "$metafile")"