diff options
author | Petr Mladek <pmladek@suse.com> | 2019-01-11 15:45:15 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-01-22 15:46:53 +0300 |
commit | 075e1a0c50f59ea210561d0d0fedbd945615df78 (patch) | |
tree | 727dc03bfff695479595a59ae031aa6ab1b8c673 /drivers/scsi/smartpqi/smartpqi_init.c | |
parent | 46dd6d779dccd4d1e73e61a4e22407cf3631c740 (diff) | |
download | linux-075e1a0c50f59ea210561d0d0fedbd945615df78.tar.xz |
sysrq: Restore original console_loglevel when sysrq disabled
The sysrq header line is printed with an increased loglevel
to provide users some positive feedback.
The original loglevel is not restored when the sysrq operation
is disabled. This bug was introduced in 2.6.12 (pre-git-history)
by the commit ("Allow admin to enable only some of the Magic-Sysrq
functions").
Signed-off-by: Petr Mladek <pmladek@suse.com>
Reviewed-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Reviewed-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/scsi/smartpqi/smartpqi_init.c')
0 files changed, 0 insertions, 0 deletions