]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit468ec89dafca98abc398be4686013ca8251d8afc
tree15ba91c1817fa1fb5898a9f6fc6aef6d043070da
parentb78921b06a9d41cffb89df821673bae81033b101
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