commit | 79d753209245de3d6f02480535a8f5cf21ad02f7 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Wed Jul 11 09:40:40 2012 +0300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Jul 12 14:27:08 2012 -0700 |
tree | c2aa38c82c6b067e7ca9ae7d40abbc81f51ce124 | |
parent | 157a4b311c45c9aba75a990464d9680867dc8805 [diff] |
tty: double unlock on error in ptmx_open() The problem here is that we called mutex_unlock(&devpts_mutex) on the error path when we weren't holding the lock. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>