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-Tag: v2.6.36-rc1~570^2~162 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b9a0f872a9ff3b5074c74da98052b5205929b560;p=platform%2Fkernel%2Flinux-exynos.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 49005e1..d0855f2 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; }