diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2012-07-11 09:40:40 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-07-12 14:27:08 -0700 |
commit | 79d753209245de3d6f02480535a8f5cf21ad02f7 (patch) | |
tree | c2aa38c82c6b067e7ca9ae7d40abbc81f51ce124 /lib/bcd.c | |
parent | 157a4b311c45c9aba75a990464d9680867dc8805 (diff) | |
download | blackbird-op-linux-79d753209245de3d6f02480535a8f5cf21ad02f7.tar.gz blackbird-op-linux-79d753209245de3d6f02480535a8f5cf21ad02f7.zip |
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>
Diffstat (limited to 'lib/bcd.c')
0 files changed, 0 insertions, 0 deletions