diff options
author | Anton Blanchard <[email protected]> | 2010-05-26 14:44:24 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2010-05-27 09:12:53 -0700 |
commit | 5b530fc18324602e1ecb70cd280c2194b2656a5e (patch) | |
tree | d96b7b408818606ebdc41c1895c8eb4ed03db37a /net/unix/af_unix.c | |
parent | cccad8f9f0f1be585c9dc534857ca9c67e538836 (diff) |
panic: call console_verbose() in panic
Most distros turn the console verbosity down and that means a backtrace
after a panic never makes it to the console. I assume we haven't seen
this because a panic is often preceeded by an oops which will have called
console_verbose. There are however a lot of places we call panic
directly, and they are broken.
Use console_verbose like we do in the oops path to ensure a directly
called panic will print a backtrace.
Signed-off-by: Anton Blanchard <[email protected]>
Acked-by: Greg Kroah-Hartman <[email protected]>
Cc: Ingo Molnar <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions