From: Kashyap, Desai Date: Thu, 17 Jun 2010 09:12:39 +0000 (+0530) Subject: [SCSI] mptfusion: Added missing reset for ioc_reset_in_progress in SoftReset X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=b9a0f872a9ff3b5074c74da98052b5205929b560;p=linux-beck.git [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 Signed-off-by: James Bottomley --- diff --git a/drivers/message/fusion/mptbase.c b/drivers/message/fusion/mptbase.c index 49005e151058..d0855f278db4 100644 --- a/drivers/message/fusion/mptbase.c +++ b/drivers/message/fusion/mptbase.c @@ -6974,6 +6974,7 @@ mpt_SoftResetHandler(MPT_ADAPTER *ioc, int sleepFlag) spin_lock_irqsave(&ioc->taskmgmt_lock, flags); if (ioc->taskmgmt_in_progress) { + ioc->ioc_reset_in_progress = 0; spin_unlock_irqrestore(&ioc->taskmgmt_lock, flags); return -1; }