Skip to content

Commit

Permalink
xen/pciback: double lock typo
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Dan Carpenter authored and Konrad Rzeszutek Wilk committed Sep 29, 2011
1 parent 74d33de commit e1db4ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/xen/xen-pciback/vpci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit e1db4ce

Please sign in to comment.