From 4c215fe8e288c87b34c3d5bc910c77af586859d2 Mon Sep 17 00:00:00 2001 From: Imre Deak Date: Tue, 16 Dec 2014 00:16:00 +0200 Subject: [PATCH] vt: fix locking around vt_bind/vt_unbind Currently vt_bind and vt_unbind access at least the con_driver object and registered_con_driver array without holding the console lock. Fix this by locking around the whole function in each case. Signed-off-by: Imre Deak Reviewed-by: Peter Hurley Reviewed-by: Daniel Vetter Signed-off-by: Greg Kroah-Hartman --- Reading git-format-patch failed