]> git.baikalelectronics.ru Git - kernel.git/commit
vt: always call notifier with the console lock held
authorNicolas Pitre <nicolas.pitre@linaro.org>
Wed, 9 Jan 2019 03:55:00 +0000 (22:55 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Jan 2019 12:42:58 +0000 (13:42 +0100)
commitd25351639c652573b3a63ab0eca6998565d01800
tree4de15deb2f8d0b0e740ce5384350ac7745c599e6
parentec1dc47e8d89d06eda6053da5a52d533e520290e
vt: always call notifier with the console lock held

Every invocation of notify_write() and notify_update() is performed
under the console lock, except for one case. Let's fix that.

Signed-off-by: Nicolas Pitre <nico@linaro.org>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/vt/vt.c