Skip to content

Commit

Permalink
wd7000: typo spin_unlock_irq() => spin_lock_irq()
Browse files Browse the repository at this point in the history
This was introduced back in 2005 at the very start of the git era by:
	df0ae24
	[SCSI] allow sleeping in ->eh_host_reset_handler()

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
  • Loading branch information
Dan Carpenter authored and Jiri Kosina committed Apr 8, 2010
1 parent 00bc42a commit 231c91f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/scsi/wd7000.c
Original file line number Diff line number Diff line change
Expand Up @@ -1588,7 +1588,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);
Expand Down

0 comments on commit 231c91f

Please sign in to comment.