diff options
author | jkar8572 <jkar8572> | 2010-05-05 15:17:09 +0000 |
---|---|---|
committer | jkar8572 <jkar8572> | 2010-05-05 15:17:09 +0000 |
commit | 7f17e02d34e8157009d2603bfcea3bc619709eee (patch) | |
tree | 28e5466177962db25ebebf5e3371b37495932fc0 /quotaio.c | |
parent | 940aecfcffe12b565ff0e06d1b6c838a86dfbdd0 (diff) | |
download | linuxquota-7f17e02d34e8157009d2603bfcea3bc619709eee.tar.gz |
GFS2 implements the XFS interface for setting and reporting the quota
information, and only allows state changes via remount. (Christoph Hellwig)
Diffstat (limited to 'quotaio.c')
-rw-r--r-- | quotaio.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -78,7 +78,8 @@ struct quota_handle *init_io(struct mntent *mnt, int type, int fmt, int flags) goto out_handle; } - if (!strcmp(mnt->mnt_type, MNTTYPE_XFS)) { /* XFS filesystem? */ + if (!strcmp(mnt->mnt_type, MNTTYPE_XFS) || /* XFS filesystem? */ + !strcmp(mnt->mnt_type, MNTTYPE_GFS2)) { /* XFS filesystem? */ if (fmt != -1 && fmt != QF_XFS) { /* User wanted some other format? */ errstr(_("Only XFS quota format is allowed on XFS filesystem.\n")); goto out_handle; |