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>
This commit is contained in:
parent
1884bd8354
commit
65a84a0f75
1 changed files with 2 additions and 1 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue