Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e1db4cef authored by Dan Carpenter's avatar Dan Carpenter Committed by Konrad Rzeszutek Wilk
Browse files

xen/pciback: double lock typo



We called mutex_lock() twice instead of unlocking.

Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
parent 74d33ded
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
}