]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 2 May 2019 20:41:25 +0000 (21:41 +0100)
commit1bff709b8fb3c80b065922c5ab4c84de34d932d3
treeb2686feb9c1973b29a0e4db1569acd3709105f6e
parentef6b5f2dffba5edc9e61d18dec2c6b98453d8e31
vt: always call notifier with the console lock held

commit 7e1d226345f89ad5d0216a9092c81386c89b4983 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/tty/vt/vt.c