]> git.karo-electronics.de Git - karo-tx-linux.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, 17 Feb 2016 20:31:02 +0000 (12:31 -0800)
commitc35f1234931e2cae81726440ad4df8ef1f313219
treea214c774d115f3765938bbb1abccd01608781af5
parentcccd9546e993ddcd10a482e43a821420cb09c05d
tty: Wait interruptibly for tty lock on reopen

commit 0bfd464d3fdd5bb322f9cace4cc47f1796545cf7 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/tty_io.c
drivers/tty/tty_mutex.c
include/linux/tty.h