OSDN Git Service

pty: Lock the devpts bits privately
authorAlan Cox <alan@linux.intel.com>
Thu, 3 May 2012 21:22:09 +0000 (22:22 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 May 2012 23:48:37 +0000 (16:48 -0700)
commitd739e65bb21d34f0f5d3bf4048410e534fbec148
tree4a64becf77444c5b269449cd99bc4bbe31175e7d
parent3af502b96649ccb7462da73b0cca446c8384b155
pty: Lock the devpts bits privately

This is a private pty affair, we don't want to tangle it with the tty_lock
any more as we know all the other non tty locking is now handled by the vfs
so we too can move.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/pty.c