public inbox for fstests@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrew Price <anprice@redhat.com>
To: fstests@vger.kernel.org
Subject: [PATCH 1/3] common/quota: set VFS_QUOTA for gfs2
Date: Fri, 15 May 2015 14:36:42 +0100	[thread overview]
Message-ID: <1431697004-3032-1-git-send-email-anprice@redhat.com> (raw)

Use generic quota tools with gfs2.

Fixes "xfs_quota: cannot setup path for mount /mnt/scratch: No such
device or address"

Signed-off-by: Andrew Price <anprice@redhat.com>
---
 common/quota | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/quota b/common/quota
index b320cf2..23be4f8 100644
--- a/common/quota
+++ b/common/quota
@@ -213,7 +213,7 @@ _check_quota_usage()
 
 	VFS_QUOTA=0
 	case $FSTYP in
-	ext2|ext3|ext4|ext4dev|reiserfs)
+	ext2|ext3|ext4|ext4dev|reiserfs|gfs2)
 		VFS_QUOTA=1
 		quotaon -f -u -g $SCRATCH_MNT 2>/dev/null
 		;;
-- 
2.1.0


             reply	other threads:[~2015-05-15 13:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-15 13:36 Andrew Price [this message]
2015-05-15 13:36 ` [PATCH 2/3] generic/group: add generic/082 to the quota group Andrew Price
2015-05-15 13:36 ` [PATCH 3/3] common/rc: support gfs2 in _scratch_mkfs_sized Andrew Price
2015-05-25 22:30   ` Dave Chinner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1431697004-3032-1-git-send-email-anprice@redhat.com \
    --to=anprice@redhat.com \
    --cc=fstests@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox