summaryrefslogtreecommitdiffstats
path: root/fs/xfs/support
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2011-01-07 04:30:41 +0100
committerAlex Elder <aelder@sgi.com>2011-01-12 05:29:46 +0100
commit65a84a0f7567ea244e5246e642920260cfc2744a (patch)
tree97217a12f1a35073fcb45521f402b36e56565fa5 /fs/xfs/support
parentxfs: fix an assignment within an ASSERT() (diff)
downloadlinux-65a84a0f7567ea244e5246e642920260cfc2744a.tar.xz
linux-65a84a0f7567ea244e5246e642920260cfc2744a.zip
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.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();
}