aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/linux-2.6/xfs_message.h
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2011-03-06 18:09:35 -0500
committerDave Chinner <david@fromorbit.com>2011-03-06 18:09:35 -0500
commit9130090b5f04f7e7bc29b944e0b1ba494fff3f98 (patch)
tree54fafe352489be96c1796c022e431b97a5f48268 /fs/xfs/linux-2.6/xfs_message.h
parent0b932cccbdc09a72aa370456a59b40ecd6b10baf (diff)
xfs: kill support/debug.[ch]
The remaining functionality in debug.[ch] is effectively just assert handling, conditional debug definitions and hex dumping. The hex dumping and assert function can be moved into the new printk module, while the rest can be moved into top-level header files. This allows fs/xfs/support/debug.[ch] to be completely removed from the codebase. Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Alex Elder <aelder@sgi.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_message.h')
-rw-r--r--fs/xfs/linux-2.6/xfs_message.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/xfs/linux-2.6/xfs_message.h b/fs/xfs/linux-2.6/xfs_message.h
index 8d2df0175304..e77ffa16745b 100644
--- a/fs/xfs/linux-2.6/xfs_message.h
+++ b/fs/xfs/linux-2.6/xfs_message.h
@@ -31,4 +31,8 @@ extern int xfs_debug(const struct xfs_mount *mp, const char *fmt, ...)
31#define xfs_debug(mp, fmt, ...) (0) 31#define xfs_debug(mp, fmt, ...) (0)
32#endif 32#endif
33 33
34extern void assfail(char *expr, char *f, int l);
35
36extern void xfs_hex_dump(void *p, int length);
37
34#endif /* __XFS_MESSAGE_H */ 38#endif /* __XFS_MESSAGE_H */