2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-16 17:23:55 +08:00

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:
Dan Carpenter 2011-09-27 10:07:21 +03:00 committed by Konrad Rzeszutek Wilk
parent 74d33dedc2
commit e1db4cef89

View File

@ -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;
}