From: Dan Carpenter Date: Tue, 27 Sep 2011 07:07:21 +0000 (+0300) Subject: xen/pciback: double lock typo X-Git-Tag: firefly_0821_release~3680^2~4336^3~4 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e1db4cef8999c422420d55206beb4154f8a85383;p=firefly-linux-kernel-4.4.55.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 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; }