mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 19:08:57 +09:00
vt: always call notifier with the console lock held
commit 7e1d226345 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>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
855f7e6416
commit
18ef43def8
@@ -2767,8 +2767,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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user