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>
This commit is contained in:
parent
74d33dedc2
commit
e1db4cef89
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue