From: Manish Rangankar Date: Fri, 16 Dec 2011 09:58:58 +0000 (-0800) Subject: [SCSI] qla4xxx: Fixed BFS with sendtargets as boot index. X-Git-Tag: v3.3-rc1~15^2~42 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=368d45cc61c062a1291d0b29257a0697d6aeabd9;p=profile%2Fivi%2Fkernel-x86-ivi.git [SCSI] 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. Signed-off-by: Manish Rangankar Signed-off-by: Vikas Chaudhary Signed-off-by: James Bottomley --- diff --git a/drivers/scsi/qla4xxx/ql4_os.c b/drivers/scsi/qla4xxx/ql4_os.c index ae5d512..0048a3f 100644 --- a/drivers/scsi/qla4xxx/ql4_os.c +++ b/drivers/scsi/qla4xxx/ql4_os.c @@ -3980,9 +3980,6 @@ static void qla4xxx_build_st_list(struct scsi_qla_host *ha, 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;