tty: Wait interruptibly for tty lock on reopen

commit 0bfd464d3f 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>
This commit is contained in:
Peter Hurley 2016-01-09 21:13:44 -08:00 • committed by Greg Kroah-Hartman
commit c35f123493
3 changed files with 16 additions and 1 deletions