Commit b9a0f872a9ff3b5074c74da98052b5205929b560

Authored by Kashyap, Desai
Committed by James Bottomley
1 parent cc7e9f5f99

[SCSI] mptfusion: Added missing reset for ioc_reset_in_progress in SoftReset

Added missing part which will reset ioc_reset_in_progress before returning from SoftResetHandler.

Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

drivers/message/fusion/mptbase.c
... ... @@ -6974,6 +6974,7 @@
6974 6974  
6975 6975 spin_lock_irqsave(&ioc->taskmgmt_lock, flags);
6976 6976 if (ioc->taskmgmt_in_progress) {
  6977 + ioc->ioc_reset_in_progress = 0;
6977 6978 spin_unlock_irqrestore(&ioc->taskmgmt_lock, flags);
6978 6979 return -1;
6979 6980 }