diff options
Diffstat (limited to 'fs/xfs/support/debug.c')
-rw-r--r-- | fs/xfs/support/debug.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/fs/xfs/support/debug.c b/fs/xfs/support/debug.c index feaca739d5cc..a1c7141af481 100644 --- a/fs/xfs/support/debug.c +++ b/fs/xfs/support/debug.c | |||
@@ -45,26 +45,6 @@ cmn_err( | |||
45 | } | 45 | } |
46 | 46 | ||
47 | void | 47 | void |
48 | xfs_fs_cmn_err( | ||
49 | const char *lvl, | ||
50 | struct xfs_mount *mp, | ||
51 | const char *fmt, | ||
52 | ...) | ||
53 | { | ||
54 | struct va_format vaf; | ||
55 | va_list args; | ||
56 | |||
57 | va_start(args, fmt); | ||
58 | vaf.fmt = fmt; | ||
59 | vaf.va = &args; | ||
60 | |||
61 | printk("%sFilesystem %s: %pV", lvl, mp->m_fsname, &vaf); | ||
62 | va_end(args); | ||
63 | |||
64 | BUG_ON(strncmp(lvl, KERN_EMERG, strlen(KERN_EMERG)) == 0); | ||
65 | } | ||
66 | |||
67 | void | ||
68 | assfail(char *expr, char *file, int line) | 48 | assfail(char *expr, char *file, int line) |
69 | { | 49 | { |
70 | printk(KERN_CRIT "Assertion failed: %s, file: %s, line: %d\n", expr, | 50 | printk(KERN_CRIT "Assertion failed: %s, file: %s, line: %d\n", expr, |