tty: Only guarantee termios read safety for throttle/unthrottle
authorPeter Hurley <peter@hurleysoftware.com>
Sat, 15 Jun 2013 13:14:31 +0000 (09:14 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Jul 2013 23:43:02 +0000 (16:43 -0700)
commitd8c1f929aa8164cd8eaa830068d2fa3159c0764a
tree1371cfe90fffdcb7115b39c77e0f729c109efc69
parentfb7aa03db605e4f0b9a62cd4c77177c2596edd95
tty: Only guarantee termios read safety for throttle/unthrottle

No tty driver modifies termios during throttle() or unthrottle().
Therefore, only read safety is required.

However, tty_throttle_safe and tty_unthrottle_safe must still be
mutually exclusive; introduce throttle_mutex for that purpose.

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/n_tty.c
drivers/tty/tty_io.c
drivers/tty/tty_ioctl.c
include/linux/tty.h
This page took 0.026974 seconds and 5 git commands to generate.