xfs: use common code for quota statistics
authorChristoph Hellwig <hch@infradead.org>
Tue, 13 Mar 2012 08:52:33 +0000 (08:52 +0000)
committerBen Myers <bpm@sgi.com>
Wed, 14 Mar 2012 16:09:06 +0000 (11:09 -0500)
commit48776fd22344ad80adcbac0abc9c0da60c6481d2
tree8ab09fce19aab58e0e451d16c98ff7d1e84dcc53
parent8f639ddea0c4978ae9b4e46ea041c9e5afe0ee8d
xfs: use common code for quota statistics

Switch the quota code over to use the generic XFS statistics infrastructure.
While the legacy /proc/fs/xfs/xqm and /proc/fs/xfs/xqmstats interfaces are
preserved for now the statistics that still have a meaning with the current
code are now also available from /proc/fs/xfs/stats.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/Makefile
fs/xfs/xfs_dquot.c
fs/xfs/xfs_qm.c
fs/xfs/xfs_qm.h
fs/xfs/xfs_qm_bhv.c
fs/xfs/xfs_qm_stats.c [deleted file]
fs/xfs/xfs_qm_stats.h [deleted file]
fs/xfs/xfs_stats.c
fs/xfs/xfs_stats.h