commit | 05fb79e45ee28b97a7cb74bd5ea3a88a8d13db1c | [log] [tgz] |
---|---|---|
author | Alan Cox <alan@linux.intel.com> | Wed Sep 19 15:34:47 2012 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Sep 21 09:51:09 2012 -0700 |
tree | eec3011de3dd26155c1c0895b099e8ccd1926e2c | |
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>