]> www.infradead.org Git - users/hch/xfstests-dev.git/commitdiff
common: set VFS_QUOTA for gfs2
authorAndrew Price <anprice@redhat.com>
Tue, 26 May 2015 02:51:57 +0000 (12:51 +1000)
committerDave Chinner <david@fromorbit.com>
Tue, 26 May 2015 02:51:57 +0000 (12:51 +1000)
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>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
common/quota

index b320cf22d38bfe6ebdc7ec63dae43e3ff4d895f1..23be4f892777e7c5556c7ef8035c40e0c7f4be23 100644 (file)
@@ -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
                ;;