From: Dan Carpenter Date: Tue, 27 Sep 2011 07:07:21 +0000 (+0300) Subject: xen/pciback: double lock typo X-Git-Tag: v3.2-rc1~192^3~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e1db4cef8999c422420d55206beb4154f8a85383;p=thirdparty%2Fkernel%2Flinux.git xen/pciback: double lock typo We called mutex_lock() twice instead of unlocking. Signed-off-by: Dan Carpenter Signed-off-by: Konrad Rzeszutek Wilk --- diff --git a/drivers/xen/xen-pciback/vpci.c b/drivers/xen/xen-pciback/vpci.c index 01222d7dd20d2..46d140baebd87 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; }