diff options
author | Christoph Hellwig <hch@lst.de> | 2011-07-13 07:43:50 -0400 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2011-07-13 07:43:50 -0400 |
commit | ea15ab3cdda1bc6822f572ce9ce5d86f097f9b08 (patch) | |
tree | 1fddbe64d7f6d9150bdb86a9579c8f5feb94f734 /fs/xfs/quota/xfs_qm.h | |
parent | 54244fec67024032cb54eb604b2a36579b5db2d3 (diff) |
xfs: remove the dead QUOTADEBUG code
Remove the dead hash table test rid which has been rotting away under
QUOTADEBUG, including some code that was compiled for normal debug
builds, but not actually called without QUOTADEBUG, and enable a few
cheap debug checks that were hidden under QUOTADEBUG for normal
debug builds.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Alex Elder <aelder@sgi.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'fs/xfs/quota/xfs_qm.h')
-rw-r--r-- | fs/xfs/quota/xfs_qm.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/xfs/quota/xfs_qm.h b/fs/xfs/quota/xfs_qm.h index 567b29b9f1b3..43b9abe1052c 100644 --- a/fs/xfs/quota/xfs_qm.h +++ b/fs/xfs/quota/xfs_qm.h | |||
@@ -163,10 +163,4 @@ extern int xfs_qm_scall_getqstat(xfs_mount_t *, fs_quota_stat_t *); | |||
163 | extern int xfs_qm_scall_quotaon(xfs_mount_t *, uint); | 163 | extern int xfs_qm_scall_quotaon(xfs_mount_t *, uint); |
164 | extern int xfs_qm_scall_quotaoff(xfs_mount_t *, uint); | 164 | extern int xfs_qm_scall_quotaoff(xfs_mount_t *, uint); |
165 | 165 | ||
166 | #ifdef DEBUG | ||
167 | extern int xfs_qm_internalqcheck(xfs_mount_t *); | ||
168 | #else | ||
169 | #define xfs_qm_internalqcheck(mp) (0) | ||
170 | #endif | ||
171 | |||
172 | #endif /* __XFS_QM_H__ */ | 166 | #endif /* __XFS_QM_H__ */ |