提交 a8f23b03 编写于 作者: D Dan Carpenter 提交者: James Bottomley

[SCSI] wd7000: fix reset handler typo spin_unlock_irq() => spin_lock_irq()

This was introduced back in 2005 at the very start of the git era by:
	df0ae249
	[SCSI] allow sleeping in ->eh_host_reset_handler()
Signed-off-by: NDan Carpenter <error27@gmail.com>
Signed-off-by: NJames Bottomley <James.Bottomley@suse.de>
上级 5bbf297c
......@@ -1587,7 +1587,7 @@ static int wd7000_host_reset(struct scsi_cmnd *SCpnt)
{
Adapter *host = (Adapter *) SCpnt->device->host->hostdata;
spin_unlock_irq(SCpnt->device->host->host_lock);
spin_lock_irq(SCpnt->device->host->host_lock);
if (wd7000_adapter_reset(host) < 0) {
spin_unlock_irq(SCpnt->device->host->host_lock);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册