提交 0753b487 编写于 作者: V Vikas Chaudhary 提交者: James Bottomley

[SCSI] qla4xxx: clear AF_DPC_SCHEDULED flage when exit from do_dpc

Signed-off-by: NVikas Chaudhary <vikas.chaudhary@qlogic.com>
Signed-off-by: NRavi Anand <ravi.anand@qlogic.com>
Reviewed-by: NMike Christie <michaelc@cs.wisc.edu>
Signed-off-by: NJames Bottomley <James.Bottomley@suse.de>
上级 9d4946f8
...@@ -1208,7 +1208,7 @@ static void qla4xxx_do_dpc(struct work_struct *work) ...@@ -1208,7 +1208,7 @@ static void qla4xxx_do_dpc(struct work_struct *work)
/* Initialization not yet finished. Don't do anything yet. */ /* Initialization not yet finished. Don't do anything yet. */
if (!test_bit(AF_INIT_DONE, &ha->flags)) if (!test_bit(AF_INIT_DONE, &ha->flags))
return; goto do_dpc_exit;
/* HBA is in the process of being permanently disabled. /* HBA is in the process of being permanently disabled.
* Don't process anything */ * Don't process anything */
...@@ -1347,6 +1347,8 @@ static void qla4xxx_do_dpc(struct work_struct *work) ...@@ -1347,6 +1347,8 @@ static void qla4xxx_do_dpc(struct work_struct *work)
} }
} }
} }
do_dpc_exit:
clear_bit(AF_DPC_SCHEDULED, &ha->flags); clear_bit(AF_DPC_SCHEDULED, &ha->flags);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册