[PATCH] xfs: don't fill statvfs with project quota for a directory if it was not enabled.
Christoph Hellwig
hch at infradead.org
Wed Apr 11 14:59:15 CDT 2012
Sorry for taking so long to get back to this, but conferences and work
kept me really busy the last two weeks.
> - if ((ip->i_d.di_flags & XFS_DIFLAG_PROJINHERIT) ||
> - ((mp->m_qflags & (XFS_PQUOTA_ACCT|XFS_OQUOTA_ENFD))) ==
> - (XFS_PQUOTA_ACCT|XFS_OQUOTA_ENFD))
> - xfs_qm_statvfs(ip, statp);
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. 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.
More information about the xfs
mailing list