summaryrefslogtreecommitdiffstats
path: root/drivers/message
diff options
context:
space:
mode:
authorKashyap, Desai <kashyap.desai@lsi.com>2010-06-17 14:42:39 +0530
committerJames Bottomley <James.Bottomley@suse.de>2010-07-27 12:02:35 -0500
commitb9a0f872a9ff3b5074c74da98052b5205929b560 (patch)
tree08c343979940a909917588bca84e2b98670bf985 /drivers/message
parentcc7e9f5f9999d9c015686ab4a622e1fb529391eb (diff)
downloadop-kernel-dev-b9a0f872a9ff3b5074c74da98052b5205929b560.zip
op-kernel-dev-b9a0f872a9ff3b5074c74da98052b5205929b560.tar.gz
[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>
Diffstat (limited to 'drivers/message')
-rw-r--r--drivers/message/fusion/mptbase.c1
1 files changed, 1 insertions, 0 deletions
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;
}
OpenPOWER on IntegriCloud