[SCSI] libiscsi: pass opcode into alloc_pdu callout
We do not need to allocate a itt for data_out, so this passes the opcode to the alloc_pdu callout. Signed-off-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
This commit is contained in:
committed by
James Bottomley
parent
262ef63627
commit
2ff79d52d5
@@ -119,7 +119,7 @@ error:
|
||||
iscsi_conn_failure(conn, rc);
|
||||
}
|
||||
|
||||
static int iscsi_iser_pdu_alloc(struct iscsi_task *task)
|
||||
static int iscsi_iser_pdu_alloc(struct iscsi_task *task, uint8_t opcode)
|
||||
{
|
||||
struct iscsi_iser_task *iser_task = task->dd_data;
|
||||
|
||||
|
Reference in New Issue
Block a user