summaryrefslogtreecommitdiff
path: root/quotaio.c
diff options
context:
space:
mode:
authorjkar8572 <jkar8572>2010-05-05 15:17:09 +0000
committerjkar8572 <jkar8572>2010-05-05 15:17:09 +0000
commit7f17e02d34e8157009d2603bfcea3bc619709eee (patch)
tree28e5466177962db25ebebf5e3371b37495932fc0 /quotaio.c
parent940aecfcffe12b565ff0e06d1b6c838a86dfbdd0 (diff)
downloadlinuxquota-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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/quotaio.c b/quotaio.c
index e857328..533b631 100644
--- a/quotaio.c
+++ b/quotaio.c
@@ -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;