aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/support/debug.c
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.c
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.c')
-rw-r--r--fs/xfs/support/debug.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/fs/xfs/support/debug.c b/fs/xfs/support/debug.c
index a1c7141af481..79fae3b33bdd 100644
--- a/fs/xfs/support/debug.c
+++ b/fs/xfs/support/debug.c
@@ -18,32 +18,6 @@
#include <xfs.h>
#include "debug.h"
-/* xfs_mount.h drags a lot of crap in, sorry.. */
-#include "xfs_sb.h"
-#include "xfs_inum.h"
-#include "xfs_ag.h"
-#include "xfs_mount.h"
-#include "xfs_error.h"
-
-void
-cmn_err(
- const char *lvl,
- const char *fmt,
- ...)
-{
- struct va_format vaf;
- va_list args;
-
- va_start(args, fmt);
- vaf.fmt = fmt;
- vaf.va = &args;
-
- printk("%s%pV", lvl, &vaf);
- va_end(args);
-
- BUG_ON(strncmp(lvl, KERN_EMERG, strlen(KERN_EMERG)) == 0);
-}
-
void
assfail(char *expr, char *file, int line)
{