diff mbox

[1/3] common/quota: set VFS_QUOTA for gfs2

Message ID 1431697004-3032-1-git-send-email-anprice@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Andrew Price May 15, 2015, 1:36 p.m. UTC
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 mbox

Patch

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
 		;;