summaryrefslogtreecommitdiffstats
path: root/drivers/tty/pty.c
diff options
context:
space:
mode:
authorAlan Cox <alan@linux.intel.com>2012-05-03 22:21:53 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-05-04 16:47:38 -0700
commit3af502b96649ccb7462da73b0cca446c8384b155 (patch)
tree8d2f1a77e25354c69d61192e544bedb681cbb80e /drivers/tty/pty.c
parent22886ee96895b7a9f9d06da4dc9420b61b4ef1f7 (diff)
downloadop-kernel-dev-3af502b96649ccb7462da73b0cca446c8384b155.zip
op-kernel-dev-3af502b96649ccb7462da73b0cca446c8384b155.tar.gz
tty_lock: undo the old tty_lock use on the ctty
get_current_tty has its own consistent locking. That means a pile of the tty lock cases are not needed. As get_current_tty also keeps a reference the tty object lifetime means we can propogate the lock removal out. Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/pty.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud