summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2011-01-07 03:30:41 +0000
committerAlex Elder <aelder@sgi.com>2011-01-11 22:29:46 -0600
commit65a84a0f7567ea244e5246e642920260cfc2744a (patch)
tree97217a12f1a35073fcb45521f402b36e56565fa5 /fs
parent1884bd8354c9aec4ca501dc4773c13ad2a09af7b (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')
-rw-r--r--fs/xfs/support/debug.c3
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(
void
assfail(char *expr, char *file, int line)
{
- printk("Assertion failed: %s, file: %s, line: %d\n", expr, file, line);
+ printk(KERN_CRIT "Assertion failed: %s, file: %s, line: %d\n", expr,
+ file, line);
BUG();
}