aboutsummaryrefslogtreecommitdiffstats
diff options
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-06-04 12:48:50 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-06-04 12:48:50 -0700
commit55f6dd5580cda146f328b8aff2de1460347bb840 (patch)
treeb54ce6fe18bca5af1c40b93240c5b0620220cf43
parentc929cd8f483b3d6debc083ae09aad2f26f4f77c6 (diff)
downloadpatches-55f6dd5580cda146f328b8aff2de1460347bb840.tar.gz
fix lock exit bug in usb-serial-idr.patch
-rw-r--r--usb-serial-idr.patch2
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;
}