aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/xfs/xfs_super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_super.c b/fs/xfs/xfs_super.c
index dab9a5f6dfd6..93f7a3f750d3 100644
--- a/fs/xfs/xfs_super.c
+++ b/fs/xfs/xfs_super.c
@@ -1072,7 +1072,7 @@ xfs_fs_statfs(
1072 1072
1073 spin_unlock(&mp->m_sb_lock); 1073 spin_unlock(&mp->m_sb_lock);
1074 1074
1075 if ((ip->i_d.di_flags & XFS_DIFLAG_PROJINHERIT) || 1075 if ((ip->i_d.di_flags & XFS_DIFLAG_PROJINHERIT) &&
1076 ((mp->m_qflags & (XFS_PQUOTA_ACCT|XFS_OQUOTA_ENFD))) == 1076 ((mp->m_qflags & (XFS_PQUOTA_ACCT|XFS_OQUOTA_ENFD))) ==
1077 (XFS_PQUOTA_ACCT|XFS_OQUOTA_ENFD)) 1077 (XFS_PQUOTA_ACCT|XFS_OQUOTA_ENFD))
1078 xfs_qm_statvfs(ip, statp); 1078 xfs_qm_statvfs(ip, statp);