aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/support/debug.h
diff options
context:
space:
mode:
authorDave Chinner <[email protected]>2011-03-06 23:08:35 +0000
committerDave Chinner <[email protected]>2011-03-06 23:08:35 +0000
commit0b932cccbdc09a72aa370456a59b40ecd6b10baf (patch)
treee13910b0589804e7e56e765e931c781829bafe8c /fs/xfs/support/debug.h
parentxfs: convert the quota debug prints to new API (diff)
downloadkernel-0b932cccbdc09a72aa370456a59b40ecd6b10baf.tar.gz
kernel-0b932cccbdc09a72aa370456a59b40ecd6b10baf.zip
xfs: Convert remaining cmn_err() callers to new API
Once converted, kill the remainder of the cmn_err() interface. Signed-off-by: Dave Chinner <[email protected]> Reviewed-by: Alex Elder <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'fs/xfs/support/debug.h')
-rw-r--r--fs/xfs/support/debug.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/fs/xfs/support/debug.h b/fs/xfs/support/debug.h
index 4a082b9a1161..db36be48a43e 100644
--- a/fs/xfs/support/debug.h
+++ b/fs/xfs/support/debug.h
@@ -20,18 +20,6 @@
#include <stdarg.h>
-struct xfs_mount;
-
-#define CE_DEBUG KERN_DEBUG
-#define CE_CONT KERN_INFO
-#define CE_NOTE KERN_NOTICE
-#define CE_WARN KERN_WARNING
-#define CE_ALERT KERN_ALERT
-#define CE_PANIC KERN_EMERG
-
-void cmn_err(const char *lvl, const char *fmt, ...)
- __attribute__ ((format (printf, 2, 3)));
-
extern void assfail(char *expr, char *f, int l);
#define ASSERT_ALWAYS(expr) \