| To: | xfs@xxxxxxxxxxx |
|---|---|
| Subject: | [PATCH 3/4] fix the noquota mount option |
| From: | Christoph Hellwig <hch@xxxxxx> |
| Date: | Sun, 25 May 2008 21:07:50 +0200 |
| Sender: | xfs-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.3.28i |
Noquota should clear all mount options, and not just user and group
quota. Probably doesn't matter very much in real life.
Signed-off-by: Christoph Hellwig <hch@xxxxxx>
Index: linux-2.6-xfs/fs/xfs/linux-2.6/xfs_super.c
===================================================================
--- linux-2.6-xfs.orig/fs/xfs/linux-2.6/xfs_super.c 2008-05-25
20:57:33.000000000 +0200
+++ linux-2.6-xfs/fs/xfs/linux-2.6/xfs_super.c 2008-05-25 20:58:52.000000000
+0200
@@ -337,6 +337,7 @@ xfs_parseargs(
} else if (!strcmp(this_char, MNTOPT_NOQUOTA)) {
mp->m_qflags &= ~(XFS_UQUOTA_ACCT | XFS_UQUOTA_ACTIVE |
XFS_GQUOTA_ACCT | XFS_GQUOTA_ACTIVE |
+ XFS_PQUOTA_ACCT | XFS_PQUOTA_ACTIVE |
XFS_UQUOTA_ENFD | XFS_OQUOTA_ENFD);
} else if (!strcmp(this_char, MNTOPT_QUOTA) ||
!strcmp(this_char, MNTOPT_UQUOTA) ||
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH 2/4] kill struct xfs_mount_args, Christoph Hellwig |
|---|---|
| Next by Date: | [PATCH 4/4] fix biosize option, Christoph Hellwig |
| Previous by Thread: | [PATCH 2/4] kill struct xfs_mount_args, Christoph Hellwig |
| Next by Thread: | [PATCH 4/4] fix biosize option, Christoph Hellwig |
| Indexes: | [Date] [Thread] [Top] [All Lists] |