From e1db4cef8999c422420d55206beb4154f8a85383 Mon Sep 17 00:00:00 2001 From: Dan Carpenter Date: Tue, 27 Sep 2011 10:07:21 +0300 Subject: [PATCH] xen/pciback: double lock typo We called mutex_lock() twice instead of unlocking. Signed-off-by: Dan Carpenter Signed-off-by: Konrad Rzeszutek Wilk --- drivers/xen/xen-pciback/vpci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, } } } - mutex_lock(&vpci_dev->lock); + mutex_unlock(&vpci_dev->lock); return found; }