From: Manish Rangankar Date: Fri, 2 Dec 2011 08:25:03 +0000 (+0530) Subject: qla4xxx: Fixed BFS with sendtargets as boot index. X-Git-Tag: v2.6.39-400.9.0~679 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=8650c07f80c59a00a40d84b85f33efc038be76a5;p=users%2Fjedix%2Flinux-maple.git qla4xxx: Fixed BFS with sendtargets as boot index. If ql4xdisablesysfsboot = 0 and sendtargets entry as boot index then driver does export sendtarget entries in sysfs but iscsistart does not do discovery. So in this case let driver do the discovery and login to the targets. JIRA Key: IUEKR2ISCSI-9 Signed-off-by: Manish Rangankar Signed-off-by: Nilesh Javali Signed-off-by: Tej Parkash --- diff --git a/drivers/scsi/qla4xxx/ql4_os.c b/drivers/scsi/qla4xxx/ql4_os.c index f05e42ce8754..bbe666987b95 100644 --- a/drivers/scsi/qla4xxx/ql4_os.c +++ b/drivers/scsi/qla4xxx/ql4_os.c @@ -3974,9 +3974,6 @@ void qla4xxx_build_ddb_list(struct scsi_qla_host *ha, int is_reset) if (ret == QLA_ERROR) break; - if (qla4xxx_verify_boot_idx(ha, idx) != QLA_SUCCESS) - goto continue_next_st; - /* Check if ST, add to the list_st */ if (strlen((char *) fw_ddb_entry->iscsi_name) != 0) goto continue_next_st;