From e1b3aba51fc02eaa1dcbb13c398591c868e099d3 Mon Sep 17 00:00:00 2001 From: Christoph Hellwig Date: Thu, 21 Jan 2010 11:17:20 +0000 Subject: [PATCH] --- yaml --- r: 181811 b: refs/heads/master c: 9b00f30762fe9f914eb6e03057a616ed63a4e8ca h: refs/heads/master i: 181809: 5bde3a77251f40982c66a15f46a221f8424b6a38 181807: c98637fcadfb2e16e009dec3b6e11241bd59843f v: v3 --- [refs] | 2 +- trunk/fs/xfs/quota/xfs_qm_bhv.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 992c2587e2f8..873abdd4614b 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: bdfb04301fa5fdd95f219539a9a5b9663b1e5fc2 +refs/heads/master: 9b00f30762fe9f914eb6e03057a616ed63a4e8ca diff --git a/trunk/fs/xfs/quota/xfs_qm_bhv.c b/trunk/fs/xfs/quota/xfs_qm_bhv.c index a5346630dfae..97b410c12794 100644 --- a/trunk/fs/xfs/quota/xfs_qm_bhv.c +++ b/trunk/fs/xfs/quota/xfs_qm_bhv.c @@ -59,7 +59,7 @@ xfs_fill_statvfs_from_dquot( be64_to_cpu(dp->d_blk_hardlimit); if (limit && statp->f_blocks > limit) { statp->f_blocks = limit; - statp->f_bfree = + statp->f_bfree = statp->f_bavail = (statp->f_blocks > be64_to_cpu(dp->d_bcount)) ? (statp->f_blocks - be64_to_cpu(dp->d_bcount)) : 0; }