diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2011-09-27 10:07:21 +0300 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2011-09-29 10:50:26 -0400 |
commit | e1db4cef8999c422420d55206beb4154f8a85383 (patch) | |
tree | ff2acfb7f6ccbeae69d6f84b5f86df41e41e7a34 /drivers | |
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')
-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 01222d7dd20..46d140baebd 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, } } } - mutex_lock(&vpci_dev->lock); + mutex_unlock(&vpci_dev->lock); return found; } |