xfs
[Top] [All Lists]

Re: [PATCH 3/4] fix the noquota mount option

To: xfs@xxxxxxxxxxx
Subject: Re: [PATCH 3/4] fix the noquota mount option
From: Christoph Hellwig <hch@xxxxxx>
Date: Wed, 23 Jul 2008 10:05:14 +0200
In-reply-to: <20080525190750.GC13372@xxxxxx>
References: <20080525190750.GC13372@xxxxxx>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.3.28i
ping?

On Sun, May 25, 2008 at 09:07:50PM +0200, Christoph Hellwig wrote:
> 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) ||
---end quoted text---


<Prev in Thread] Current Thread [Next in Thread>