diff options
author | Christoph Hellwig <hch@infradead.org> | 2012-03-13 04:52:33 -0400 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2012-03-14 12:09:06 -0400 |
commit | 48776fd22344ad80adcbac0abc9c0da60c6481d2 (patch) | |
tree | 8ab09fce19aab58e0e451d16c98ff7d1e84dcc53 /fs/xfs/xfs_qm_bhv.c | |
parent | 8f639ddea0c4978ae9b4e46ea041c9e5afe0ee8d (diff) |
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>
Diffstat (limited to 'fs/xfs/xfs_qm_bhv.c')
-rw-r--r-- | fs/xfs/xfs_qm_bhv.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/xfs/xfs_qm_bhv.c b/fs/xfs/xfs_qm_bhv.c index e4e37877f867..809f86857c6d 100644 --- a/fs/xfs/xfs_qm_bhv.c +++ b/fs/xfs/xfs_qm_bhv.c | |||
@@ -162,13 +162,11 @@ xfs_qm_init(void) | |||
162 | { | 162 | { |
163 | printk(KERN_INFO "SGI XFS Quota Management subsystem\n"); | 163 | printk(KERN_INFO "SGI XFS Quota Management subsystem\n"); |
164 | mutex_init(&xfs_Gqm_lock); | 164 | mutex_init(&xfs_Gqm_lock); |
165 | xfs_qm_init_procfs(); | ||
166 | } | 165 | } |
167 | 166 | ||
168 | void __exit | 167 | void __exit |
169 | xfs_qm_exit(void) | 168 | xfs_qm_exit(void) |
170 | { | 169 | { |
171 | xfs_qm_cleanup_procfs(); | ||
172 | if (qm_dqzone) | 170 | if (qm_dqzone) |
173 | kmem_zone_destroy(qm_dqzone); | 171 | kmem_zone_destroy(qm_dqzone); |
174 | if (qm_dqtrxzone) | 172 | if (qm_dqtrxzone) |