From: Darrick J. Wong <djwong@xxxxxxxxxx> Update fstests to handle quota files in the metadir. Signed-off-by: Darrick J. Wong <djwong@xxxxxxxxxx> --- common/xfs | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/common/xfs b/common/xfs index 6bd411cad67f5f..7198a5579d4cfa 100644 --- a/common/xfs +++ b/common/xfs @@ -1949,6 +1949,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")"