]> git.baikalelectronics.ru Git - kernel.git/commit
tty: Wait interruptibly for tty lock on reopen
authorPeter Hurley <peter@hurleysoftware.com>
Sun, 10 Jan 2016 05:13:44 +0000 (21:13 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 Jan 2016 07:17:54 +0000 (23:17 -0800)
commitd074038ea91259dcadf703f037a919e5f89156cf
tree39464f856fd4dc6b58c31e2cfbbbb882ce3b7ec1
parentd7e15052ecc9ac4f938d1d7432c1d120a2711a7e
tty: Wait interruptibly for tty lock on reopen

Allow a signal to interrupt the wait for a tty reopen; eg., if
the tty has starting final close and is waiting for the device to
drain.

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Cc: stable <stable@vger.kernel.org> # 4.4
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/tty_io.c
drivers/tty/tty_mutex.c
include/linux/tty.h