]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit - quota/free.c
xfsprogs: xfs_quota: return real-time used data as intended
authorAlex Elder <aelder@sgi.com>
Wed, 24 Aug 2011 21:53:41 +0000 (21:53 +0000)
committerAlex Elder <aelder@sgi.com>
Fri, 26 Aug 2011 01:40:26 +0000 (20:40 -0500)
commit1affe13718816b3404b555b761dfe35660731cc9
tree58478cf46163dbfffb58281b733831332ccee588
parent3510c32b74c5f831324b08e3f01b2f33feaf1b5a
xfsprogs: xfs_quota: return real-time used data as intended

In projects_free_space_data() the real-time used space consumption
is never set.  Instead, that value is returned in the field that
should hold the quota limit.

Found by inspection.  Never seen/noticed because we currently don't
support quotas when a filesystem has a realtime volume.

Signed-off-by: Alex Elder <aelder@sgi.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
quota/free.c