commit | 633caba8932d9ba2f79bbcb7573e58eae3fdac68 | [log] [tgz] |
---|---|---|
author | Peter Hurley <peter@hurleysoftware.com> | Wed Nov 05 12:40:03 2014 -0500 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Nov 06 14:57:27 2014 -0800 |
tree | ed7b7096ce6174150109835d23d76ecc659286e6 | |
parent | 19038ad9f08c96dcff870b18af8fd5ae5141dec1 [diff] |
tty: Move tty hung up check from port->lock critical section The port->lock does not protect the filp->f_op field; move the tty_hung_up_p() test outside the port->lock critical section in tty_port_close_start(). Signed-off-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>