diff options
Diffstat (limited to 'fs/xfs/quota')
-rw-r--r-- | 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 44ab68de971d..22d853e77cda 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( | |||
456 | || | 456 | || |
457 | ((flags & XFS_PQUOTA_ACCT) == 0 && | 457 | ((flags & XFS_PQUOTA_ACCT) == 0 && |
458 | (mp->m_sb.sb_qflags & XFS_PQUOTA_ACCT) == 0 && | 458 | (mp->m_sb.sb_qflags & XFS_PQUOTA_ACCT) == 0 && |
459 | (flags & XFS_OQUOTA_ENFD)) | 459 | (flags & XFS_GQUOTA_ACCT) == 0 && |
460 | || | ||
461 | ((flags & XFS_GQUOTA_ACCT) == 0 && | ||
462 | (mp->m_sb.sb_qflags & XFS_GQUOTA_ACCT) == 0 && | 460 | (mp->m_sb.sb_qflags & XFS_GQUOTA_ACCT) == 0 && |
463 | (flags & XFS_OQUOTA_ENFD))) { | 461 | (flags & XFS_OQUOTA_ENFD))) { |
464 | qdprintk("Can't enforce without acct, flags=%x sbflags=%x\n", | 462 | qdprintk("Can't enforce without acct, flags=%x sbflags=%x\n", |