diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2011-09-27 03:07:21 -0400 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2011-09-29 10:50:26 -0400 |
commit | e1db4cef8999c422420d55206beb4154f8a85383 (patch) | |
tree | ff2acfb7f6ccbeae69d6f84b5f86df41e41e7a34 /drivers/xen/xen-pciback | |
parent | 74d33dedc2fb8d98821bcf7df9800ce59456502e (diff) |
xen/pciback: double lock typo
We called mutex_lock() twice instead of unlocking.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'drivers/xen/xen-pciback')
-rw-r--r-- | drivers/xen/xen-pciback/vpci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/xen/xen-pciback/vpci.c b/drivers/xen/xen-pciback/vpci.c index 01222d7dd20d..46d140baebd8 100644 --- a/drivers/xen/xen-pciback/vpci.c +++ b/drivers/xen/xen-pciback/vpci.c | |||
@@ -238,7 +238,7 @@ static int __xen_pcibk_get_pcifront_dev(struct pci_dev *pcidev, | |||
238 | } | 238 | } |
239 | } | 239 | } |
240 | } | 240 | } |
241 | mutex_lock(&vpci_dev->lock); | 241 | mutex_unlock(&vpci_dev->lock); |
242 | return found; | 242 | return found; |
243 | } | 243 | } |
244 | 244 | ||