]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
pty: Don't drop pty master tty lock to hangup slave
authorPeter Hurley <peter@hurleysoftware.com>
Wed, 5 Nov 2014 17:13:04 +0000 (12:13 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Nov 2014 02:50:42 +0000 (18:50 -0800)
commit1bb954153aa97702db4363c6746794d097d9c707
tree7e2e30e1030f5f283224114c78bb282576f74a5b
parent35af935ee47eb4548e0052733e9d75328e260fa1
pty: Don't drop pty master tty lock to hangup slave

With the revised tty lock order and lockdep annotation, claiming
the pty slave lock is now safe while still holding the pty master lock.

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/pty.c