Commit 65a84a0f authored by Anton Blanchard's avatar Anton Blanchard Committed by Alex Elder

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: default avatarAnton Blanchard <anton@samba.org>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarAlex Elder <aelder@sgi.com>
parent 1884bd83
...@@ -104,7 +104,8 @@ xfs_fs_vcmn_err( ...@@ -104,7 +104,8 @@ xfs_fs_vcmn_err(
void void
assfail(char *expr, char *file, int line) 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(); BUG();
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment