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 <[email protected]>
---
fs/xfs/support/debug.c +2 -1
@@ -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 (); }
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
Christoph Hellwig
Reviewed-byQuoted 5 lines · Anton Blanchard
I received a ppc64 bug report involving xfs but the assertion was filtered out by the console log level. Use
KERN_CRITto ensure it makes it out.Signed-off-by Anton Blanchard <[email protected]>
Looks good,
Reviewed-by Christoph Hellwig <[email protected]>
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs