Update fstests to handle quota files in the metadir.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Zorro Lang <zlang@kernel.org>
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")"