]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
xfs: don't fill statvfs with project quota for a directory if it was not enabled.
authorJie Liu <jeff.liu@oracle.com>
Thu, 12 Apr 2012 03:59:57 +0000 (03:59 +0000)
committerBen Myers <bpm@sgi.com>
Mon, 16 Apr 2012 21:32:20 +0000 (16:32 -0500)
commitda5bf95e3cdca348327c82568c2860229c0daaa2
tree2489e495921c4bcdd16246feeeeaef5ade6924c5
parent18caa67ad41212e6f82a675c40f461ffb45f098e
xfs: don't fill statvfs with project quota for a directory 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.

Signed-off-by: Jie Liu <jeff.liu@oracle.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/xfs_super.c