[SCSI] qla4xxx: clear AF_DPC_SCHEDULED flage when exit from do_dpc
Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com> Signed-off-by: Ravi Anand <ravi.anand@qlogic.com> Reviewed-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
This commit is contained in:
Родитель
9d4946f89f
Коммит
0753b4871d
|
@ -1208,7 +1208,7 @@ static void qla4xxx_do_dpc(struct work_struct *work)
|
|||
|
||||
/* Initialization not yet finished. Don't do anything yet. */
|
||||
if (!test_bit(AF_INIT_DONE, &ha->flags))
|
||||
return;
|
||||
goto do_dpc_exit;
|
||||
|
||||
/* HBA is in the process of being permanently disabled.
|
||||
* Don't process anything */
|
||||
|
@ -1347,6 +1347,8 @@ dpc_post_reset_ha:
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
do_dpc_exit:
|
||||
clear_bit(AF_DPC_SCHEDULED, &ha->flags);
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче