diff options
author | Anton Blanchard <anton@samba.org> | 2011-01-07 03:30:41 +0000 |
---|---|---|
committer | Alex Elder <aelder@sgi.com> | 2011-01-11 22:29:46 -0600 |
commit | 65a84a0f7567ea244e5246e642920260cfc2744a (patch) | |
tree | 97217a12f1a35073fcb45521f402b36e56565fa5 /fs/xfs | |
parent | 1884bd8354c9aec4ca501dc4773c13ad2a09af7b (diff) | |
download | linux-65a84a0f7567ea244e5246e642920260cfc2744a.tar.bz2 |
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>
Diffstat (limited to 'fs/xfs')
-rw-r--r-- | fs/xfs/support/debug.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/xfs/support/debug.c b/fs/xfs/support/debug.c index 975aa10e1a47..86162e5f9a21 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(); } |