projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6609cff
)
vt: always call notifier with the console lock held
author
Nicolas Pitre
<nicolas.pitre@linaro.org>
Wed, 9 Jan 2019 03:55:00 +0000
(22:55 -0500)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Fri, 18 Jan 2019 12:42:58 +0000
(13:42 +0100)
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
patch
|
blob
|
history
diff --git
a/drivers/tty/vt/vt.c
b/drivers/tty/vt/vt.c
index
b9004bd
..
5b8b0e3
100644
(file)
--- a/
drivers/tty/vt/vt.c
+++ b/
drivers/tty/vt/vt.c
@@
-2764,8
+2764,8
@@
rescan_last_byte:
con_flush(vc, draw_from, draw_to, &draw_x);
vc_uniscr_debug_check(vc);
console_conditional_schedule();
- console_unlock();
notify_update(vc);
+ console_unlock();
return n;
}