[3.0-stable PATCH 12/36] xfs: dont fill statvfs with project quota for a directory

Dave Chinner david at fromorbit.com
Tue Dec 11 17:38:10 CST 2012


On Mon, Dec 03, 2012 at 05:42:20PM -0600, Mark Tinguely wrote:
> From: Jie Liu <jeff.liu at oracle.com>
> 
> Upstream commit: da5bf95e3cdca348327c82568c2860229c0daaa2
>  if it was not enabled.
> 
> Check if the project quota is running or not before performing
> xfs_qm_statvfs(), just return if not.  Otherwise the ASSERT
> XFS_IS_QUOTA_RUNNING in xfs_qm_dqget will be popped.

On production kernels, it will just return immediately because the
next checks are for whether quota is enabled. Hence this is fixing
a debug only problem, so doesn't really seem like a -stable
candidate to me...

Cheers,

Dave.
-- 
Dave Chinner
david at fromorbit.com



More information about the xfs mailing list