diff options
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_attr.c')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_attr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/qla2xxx/qla_attr.c b/drivers/scsi/qla2xxx/qla_attr.c index bda6658d4fbf..f3536e56dce4 100644 --- a/drivers/scsi/qla2xxx/qla_attr.c +++ b/drivers/scsi/qla2xxx/qla_attr.c | |||
@@ -1531,7 +1531,7 @@ qla24xx_vport_create(struct fc_vport *fc_vport, bool disable) | |||
1531 | qla24xx_vport_disable(fc_vport, disable); | 1531 | qla24xx_vport_disable(fc_vport, disable); |
1532 | 1532 | ||
1533 | ret = 0; | 1533 | ret = 0; |
1534 | if (ha->cur_vport_count <= ha->flex_port_count | 1534 | if (ha->cur_vport_count <= ha->flex_port_count || ql2xmultique_tag |
1535 | || ha->max_req_queues == 1 || !ha->npiv_info) | 1535 | || ha->max_req_queues == 1 || !ha->npiv_info) |
1536 | goto vport_queue; | 1536 | goto vport_queue; |
1537 | /* Create a request queue in QoS mode for the vport */ | 1537 | /* Create a request queue in QoS mode for the vport */ |
@@ -1599,7 +1599,7 @@ qla24xx_vport_delete(struct fc_vport *fc_vport) | |||
1599 | vha->host_no, vha->vp_idx, vha)); | 1599 | vha->host_no, vha->vp_idx, vha)); |
1600 | } | 1600 | } |
1601 | 1601 | ||
1602 | if (vha->req->id) { | 1602 | if (vha->req->id && !ql2xmultique_tag) { |
1603 | if (qla25xx_delete_req_que(vha, vha->req) != QLA_SUCCESS) | 1603 | if (qla25xx_delete_req_que(vha, vha->req) != QLA_SUCCESS) |
1604 | qla_printk(KERN_WARNING, ha, | 1604 | qla_printk(KERN_WARNING, ha, |
1605 | "Queue delete failed.\n"); | 1605 | "Queue delete failed.\n"); |