Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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();
}