aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorManish Rangankar <manish.rangankar@qlogic.com>2011-12-16 04:58:58 -0500
committerJames Bottomley <JBottomley@Parallels.com>2012-01-10 18:01:23 -0500
commit368d45cc61c062a1291d0b29257a0697d6aeabd9 (patch)
tree62de2da0d352dfba9117ff33cafb52873909be90 /drivers/scsi
parentf1f2e60e1a2320d0ce11102b72b15d5dedb29fe2 (diff)
[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 <manish.rangankar@qlogic.com> Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/qla4xxx/ql4_os.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/scsi/qla4xxx/ql4_os.c b/drivers/scsi/qla4xxx/ql4_os.c
index ae5d512bf43b..0048a3facd7a 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,
3980 if (ret == QLA_ERROR) 3980 if (ret == QLA_ERROR)
3981 break; 3981 break;
3982 3982
3983 if (qla4xxx_verify_boot_idx(ha, idx) != QLA_SUCCESS)
3984 goto continue_next_st;
3985
3986 /* Check if ST, add to the list_st */ 3983 /* Check if ST, add to the list_st */
3987 if (strlen((char *) fw_ddb_entry->iscsi_name) != 0) 3984 if (strlen((char *) fw_ddb_entry->iscsi_name) != 0)
3988 goto continue_next_st; 3985 goto continue_next_st;