Commit 6548b0e5 authored by Dan Carpenter's avatar Dan Carpenter Committed by James Bottomley

[SCSI] megaraid: remove a spurious IRQ enable

We took this lock with spin_lock() so we should unlock it with
spin_unlock() instead of spin_unlock_irq().  This was introduced in
f2c8dc40 "[SCSI] megaraid_mbox: remove scsi_assign_lock usage".
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Acked-by: default avatarAdam Radford <aradford@gmail.com>
Signed-off-by: default avatarJames Bottomley <JBottomley@Parallels.com>
parent 9d5d93e3
...@@ -2731,7 +2731,7 @@ megaraid_reset_handler(struct scsi_cmnd *scp) ...@@ -2731,7 +2731,7 @@ megaraid_reset_handler(struct scsi_cmnd *scp)
} }
out: out:
spin_unlock_irq(&adapter->lock); spin_unlock(&adapter->lock);
return rval; return rval;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment