tty: Make core responsible for synchronizing its work
authorPeter Hurley <peter@hurleysoftware.com>
Mon, 11 Mar 2013 20:44:35 +0000 (16:44 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 18 Mar 2013 23:44:02 +0000 (16:44 -0700)
commita2965b7bee00a01731ae79de34c26e146cbd08cf
tree15ba91c1817fa1fb5898a9f6fc6aef6d043070da
parent4f98d4675166fc1991dbad7dd2af634df7c14061
tty: Make core responsible for synchronizing its work

The tty core relies on the ldisc layer for synchronizing destruction
of the tty. Instead, the final tty release must wait for any pending tty
work to complete prior to tty destruction.

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_ldisc.c