Searched hist:"633 caba8" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/tty/ |
H A D | tty_port.c | 633caba8 Wed Nov 05 11:40:03 CST 2014 Peter Hurley <peter@hurleysoftware.com> 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> 633caba8 Wed Nov 05 11:40:03 CST 2014 Peter Hurley <peter@hurleysoftware.com> 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>
|