diff options
author | Vikas Chaudhary <vikas.chaudhary@qlogic.com> | 2010-07-30 04:57:19 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-08-06 12:58:56 -0400 |
commit | 0753b4871d5b09687cee652b380a6ca15aee330e (patch) | |
tree | 27d244d3acff5b090d8d5afd8f48cd126bb02d02 /drivers/scsi | |
parent | 9d4946f89fc050cadf66d08c47379ab62848a5b7 (diff) |
[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>
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/qla4xxx/ql4_os.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/scsi/qla4xxx/ql4_os.c b/drivers/scsi/qla4xxx/ql4_os.c index fd1af23e6801..e575d765ba26 100644 --- a/drivers/scsi/qla4xxx/ql4_os.c +++ b/drivers/scsi/qla4xxx/ql4_os.c | |||
@@ -1208,7 +1208,7 @@ static void qla4xxx_do_dpc(struct work_struct *work) | |||
1208 | 1208 | ||
1209 | /* Initialization not yet finished. Don't do anything yet. */ | 1209 | /* Initialization not yet finished. Don't do anything yet. */ |
1210 | if (!test_bit(AF_INIT_DONE, &ha->flags)) | 1210 | if (!test_bit(AF_INIT_DONE, &ha->flags)) |
1211 | return; | 1211 | goto do_dpc_exit; |
1212 | 1212 | ||
1213 | /* HBA is in the process of being permanently disabled. | 1213 | /* HBA is in the process of being permanently disabled. |
1214 | * Don't process anything */ | 1214 | * Don't process anything */ |
@@ -1347,6 +1347,8 @@ dpc_post_reset_ha: | |||
1347 | } | 1347 | } |
1348 | } | 1348 | } |
1349 | } | 1349 | } |
1350 | |||
1351 | do_dpc_exit: | ||
1350 | clear_bit(AF_DPC_SCHEDULED, &ha->flags); | 1352 | clear_bit(AF_DPC_SCHEDULED, &ha->flags); |
1351 | } | 1353 | } |
1352 | 1354 | ||