Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=424ea91ba61c1cdc2dac68576c97030cbf47d84f
Commit:     424ea91ba61c1cdc2dac68576c97030cbf47d84f
Parent:     646d5bdab38c88f4b9088d4e517986a3f3b0edb9
Author:     Donald Douwsma <[EMAIL PROTECTED]>
AuthorDate: Tue May 8 13:49:15 2007 +1000
Committer:  Tim Shimmin <[EMAIL PROTECTED]>
CommitDate: Tue May 8 13:49:15 2007 +1000

    [XFS] Fix quotaon syscall failures for group enforcement requests.
    
    xfs_qm_scall_quotaon was incorrectly failing requests to enable group
    quota enforcement. Fixes logic error in OQUOTA handling.
    
    SGI-PV: 961964
    SGI-Modid: xfs-linux-melb:xfs-kern:28227a
    
    Signed-off-by: Donald Douwsma <[EMAIL PROTECTED]>
    Signed-off-by: Tim Shimmin <[EMAIL PROTECTED]>
---
 fs/xfs/quota/xfs_qm_syscalls.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/fs/xfs/quota/xfs_qm_syscalls.c b/fs/xfs/quota/xfs_qm_syscalls.c
index 44ab68d..22d853e 100644
--- a/fs/xfs/quota/xfs_qm_syscalls.c
+++ b/fs/xfs/quota/xfs_qm_syscalls.c
@@ -456,9 +456,7 @@ xfs_qm_scall_quotaon(
            ||
            ((flags & XFS_PQUOTA_ACCT) == 0 &&
            (mp->m_sb.sb_qflags & XFS_PQUOTA_ACCT) == 0 &&
-           (flags & XFS_OQUOTA_ENFD))
-           ||
-           ((flags & XFS_GQUOTA_ACCT) == 0 &&
+           (flags & XFS_GQUOTA_ACCT) == 0 &&
            (mp->m_sb.sb_qflags & XFS_GQUOTA_ACCT) == 0 &&
            (flags & XFS_OQUOTA_ENFD))) {
                qdprintk("Can't enforce without acct, flags=%x sbflags=%x\n",
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to