Hi Christoph,<br><br>I am Jeff Liu, I cannot connect to my Oracle email box, looks it was blocked by the stupid china firewall today. :(<br><blockquote type="cite" style="color: rgb(0, 0, 0);"><pre wrap=""><span class="moz-txt-citetags">> </span>-        if ((ip->i_d.di_flags & XFS_DIFLAG_PROJINHERIT) ||
<span class="moz-txt-citetags">> </span>-         ((mp->m_qflags & (XFS_PQUOTA_ACCT|XFS_OQUOTA_ENFD))) ==
<span class="moz-txt-citetags">> </span>-                         (XFS_PQUOTA_ACCT|XFS_OQUOTA_ENFD))
<span class="moz-txt-citetags">> </span>-                xfs_qm_statvfs(ip, statp);
</pre></blockquote><pre wrap="">> I thjink the correct fix here is to replace the || between the inode
> flag and quota flag check with and && - we want both the above
> conditions to be true.<br>Thanks!<br>> Can you respin the patch by doing that and make
> sure it still passes the test case? I'd like to send it of to -stable
> ASAP.<br>It works with your comments, the revised was shown as following:<br><br>Signed-off-by: Jie Liu <jeff.liu@oracle.com><br><br>---<br> fs/xfs/xfs_super.c | 2 +-<br> 1 files changed, 1 insertions(+), 1 deletions(-)<br><br>diff --git a/fs/xfs/xfs_super.c b/fs/xfs/xfs_super.c<br>index ee5b695..e3871d5 100644<br>--- a/fs/xfs/xfs_super.c<br>+++ b/fs/xfs/xfs_super.c<br>@@ -1059,7 +1059,7 @@ xfs_fs_statfs(<br> <br>         spin_unlock(&mp->m_sb_lock);<br> <br>-        if ((ip->i_d.di_flags & XFS_DIFLAG_PROJINHERIT) ||<br>+        if ((ip->i_d.di_flags & XFS_DIFLAG_PROJINHERIT) &&<br>          ((mp->m_qflags & (XFS_PQUOTA_ACCT|XFS_OQUOTA_ENFD))) ==<br>                          (XFS_PQUOTA_ACCT|XFS_OQUOTA_ENFD))<br>                 xfs_qm_statvfs(ip, statp);<br>-- <br>1.7.9<br> </pre><br>