diff options
author | Alan Cox <alan@linux.intel.com> | 2012-09-19 10:34:47 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-21 12:51:09 -0400 |
commit | 05fb79e45ee28b97a7cb74bd5ea3a88a8d13db1c (patch) | |
tree | eec3011de3dd26155c1c0895b099e8ccd1926e2c /drivers/tty/serial/8250/8250.c | |
parent | 43eca0aef73cc6f0d37ad139f1cbb810e62e409d (diff) |
pty: Fix locking bug on error path
We end up dropping the mutex twice on some errors. We don't want to do
that.
Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/8250/8250.c')
0 files changed, 0 insertions, 0 deletions