xfs: quota limit statvfs available blocks
authorChristoph Hellwig <hch@infradead.org>
Thu, 21 Jan 2010 11:17:20 +0000 (11:17 +0000)
committerAlex Elder <aelder@sgi.com>
Thu, 21 Jan 2010 22:34:23 +0000 (16:34 -0600)
commit9b00f30762fe9f914eb6e03057a616ed63a4e8ca
tree11644521534de9828b17e028f0d9c5d960785720
parentbdfb04301fa5fdd95f219539a9a5b9663b1e5fc2
xfs: quota limit statvfs available blocks

A "df" run on an NFS client of an exported XFS file system reports
the wrong information for "available" blocks.  When a block quota is
enforced, the amount reported as free is limited by the quota, but
the amount reported available is not (and should be).

Reported-by: Guk-Bong, Kwon <gbkwon@gmail.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Alex Elder <aelder@sgi.com>
fs/xfs/quota/xfs_qm_bhv.c