vt_kdsetmode: extend console locking
authorLinus Torvalds <torvalds@linux-foundation.org>
Mon, 30 Aug 2021 15:55:18 +0000 (08:55 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Sep 2021 07:44:40 +0000 (09:44 +0200)
commit755a2f40dda2d6b2e3b8624cb052e68947ee4d1f
tree942a6b95be0f3579f418b3fa7599284d7f247ed5
parent706938b1d0e23da591cc999c902351229b1d8c97
vt_kdsetmode: extend console locking

commit 2287a51ba822384834dafc1c798453375d1107c7 upstream.

As per the long-suffering comment.

Reported-by: Minh Yuan <yuanmingbuaa@gmail.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Jiri Slaby <jirislaby@kernel.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/vt/vt_ioctl.c