summaryrefslogtreecommitdiff
path: root/drivers/usb/serial/metro-usb.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2012-07-11 06:40:40 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-07-12 21:27:08 (GMT)
commit79d753209245de3d6f02480535a8f5cf21ad02f7 (patch)
treec2aa38c82c6b067e7ca9ae7d40abbc81f51ce124 /drivers/usb/serial/metro-usb.c
parent157a4b311c45c9aba75a990464d9680867dc8805 (diff)
downloadlinux-79d753209245de3d6f02480535a8f5cf21ad02f7.tar.xz
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 'drivers/usb/serial/metro-usb.c')
0 files changed, 0 insertions, 0 deletions