| To: | Alex Elder <aelder@xxxxxxx>, Dave Chinner <dchinner@xxxxxxxxxx>, Christoph Hellwig <hch@xxxxxx> |
|---|---|
| Subject: | xfs: Add log level to assertion printk |
| From: | Anton Blanchard <anton@xxxxxxxxx> |
| Date: | Fri, 7 Jan 2011 14:30:41 +1100 |
| Cc: | xfs-masters@xxxxxxxxxxx, xfs@xxxxxxxxxxx |
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@xxxxxxxxx>
---
diff --git a/fs/xfs/support/debug.c b/fs/xfs/support/debug.c
index 975aa10..86162e5 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();
}
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | TRIM details, Phil Karn |
|---|---|
| Next by Date: | Re: TRIM details, Martin K. Petersen |
| Previous by Thread: | TRIM details, Phil Karn |
| Next by Thread: | Re: xfs: Add log level to assertion printk, Christoph Hellwig |
| Indexes: | [Date] [Thread] [Top] [All Lists] |