Skip to content
Commit 05fb79e4 authored by Alan Cox's avatar Alan Cox Committed by Greg Kroah-Hartman
Browse files

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: default avatarFengguang Wu <fengguang.wu@intel.com>
Signed-off-by: default avatarAlan Cox <alan@linux.intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 43eca0ae
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment