diff options
author | Anton Blanchard <anton@samba.org> | 2011-01-06 22:30:41 -0500 |
---|---|---|
committer | Alex Elder <aelder@sgi.com> | 2011-01-11 23:29:46 -0500 |
commit | 65a84a0f7567ea244e5246e642920260cfc2744a (patch) | |
tree | 97217a12f1a35073fcb45521f402b36e56565fa5 /fs/xfs/support | |
parent | 1884bd8354c9aec4ca501dc4773c13ad2a09af7b (diff) |
xfs: Add log level to assertion printk
I received a ppc64 bug report involving xfs but the assertion was
filtered out by the console log level. Use KERN_CRIT to ensure it
makes it out.
Signed-off-by: Anton Blanchard <anton@samba.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Alex Elder <aelder@sgi.com>
Diffstat (limited to 'fs/xfs/support')
-rw-r--r-- | fs/xfs/support/debug.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/xfs/support/debug.c b/fs/xfs/support/debug.c index 975aa10e1a47..86162e5f9a21 100644 --- a/fs/xfs/support/debug.c +++ b/fs/xfs/support/debug.c | |||
@@ -104,7 +104,8 @@ xfs_fs_vcmn_err( | |||
104 | void | 104 | void |
105 | assfail(char *expr, char *file, int line) | 105 | assfail(char *expr, char *file, int line) |
106 | { | 106 | { |
107 | printk("Assertion failed: %s, file: %s, line: %d\n", expr, file, line); | 107 | printk(KERN_CRIT "Assertion failed: %s, file: %s, line: %d\n", expr, |
108 | file, line); | ||
108 | BUG(); | 109 | BUG(); |
109 | } | 110 | } |
110 | 111 | ||