aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2008-10-30 02:54:57 -0400
committerLachlan McIlroy <lachlan@sgi.com>2008-10-30 02:54:57 -0400
commit469fc23d5dd172665c69099db776c39bb1b70f92 (patch)
treed9ffd018cd22189b03c06b1d958b91b2d2e2d914 /fs
parent9d565ffa33d574c2a22442f9d95ca2bd0be7cc42 (diff)
[XFS] fix the noquota mount option
Noquota should clear all mount options, and not just user and group quota. Probably doesn't matter very much in real life. SGI-PV: 987246 SGI-Modid: xfs-linux-melb:xfs-kern:32372a Signed-off-by: Christoph Hellwig <hch@infradead.org> Signed-off-by: Donald Douwsma <donaldd@sgi.com> Signed-off-by: David Chinner <david@fromorbit.com> Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/xfs/linux-2.6/xfs_super.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/xfs/linux-2.6/xfs_super.c b/fs/xfs/linux-2.6/xfs_super.c
index 5638a99fb741..62d485888496 100644
--- a/fs/xfs/linux-2.6/xfs_super.c
+++ b/fs/xfs/linux-2.6/xfs_super.c
@@ -355,6 +355,7 @@ xfs_parseargs(
355 } else if (!strcmp(this_char, MNTOPT_NOQUOTA)) { 355 } else if (!strcmp(this_char, MNTOPT_NOQUOTA)) {
356 mp->m_qflags &= ~(XFS_UQUOTA_ACCT | XFS_UQUOTA_ACTIVE | 356 mp->m_qflags &= ~(XFS_UQUOTA_ACCT | XFS_UQUOTA_ACTIVE |
357 XFS_GQUOTA_ACCT | XFS_GQUOTA_ACTIVE | 357 XFS_GQUOTA_ACCT | XFS_GQUOTA_ACTIVE |
358 XFS_PQUOTA_ACCT | XFS_PQUOTA_ACTIVE |
358 XFS_UQUOTA_ENFD | XFS_OQUOTA_ENFD); 359 XFS_UQUOTA_ENFD | XFS_OQUOTA_ENFD);
359 } else if (!strcmp(this_char, MNTOPT_QUOTA) || 360 } else if (!strcmp(this_char, MNTOPT_QUOTA) ||
360 !strcmp(this_char, MNTOPT_UQUOTA) || 361 !strcmp(this_char, MNTOPT_UQUOTA) ||