diff options
| author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-06-04 12:48:50 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-06-04 12:48:50 -0700 |
| commit | 55f6dd5580cda146f328b8aff2de1460347bb840 (patch) | |
| tree | b54ce6fe18bca5af1c40b93240c5b0620220cf43 /usb-serial-idr.patch | |
| parent | c929cd8f483b3d6debc083ae09aad2f26f4f77c6 (diff) | |
| download | patches-55f6dd5580cda146f328b8aff2de1460347bb840.tar.gz | |
fix lock exit bug in usb-serial-idr.patch
Diffstat (limited to 'usb-serial-idr.patch')
| -rw-r--r-- | usb-serial-idr.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usb-serial-idr.patch b/usb-serial-idr.patch index 8ebe926ae4df81..be364cb08ddf02 100644 --- a/usb-serial-idr.patch +++ b/usb-serial-idr.patch @@ -69,8 +69,8 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> + } else { + kref_get(&serial->kref); } - mutex_unlock(&table_lock); +exit: + mutex_unlock(&table_lock); return serial; } |
