mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 15:27:29 +00:00
[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:
parent
262ef63627
commit
2ff79d52d5
5 changed files with 11 additions and 11 deletions
|
@ -1021,7 +1021,7 @@ flush:
|
|||
return 0;
|
||||
}
|
||||
|
||||
rc = conn->session->tt->alloc_pdu(task);
|
||||
rc = conn->session->tt->alloc_pdu(task, ISCSI_OP_SCSI_DATA_OUT);
|
||||
if (rc)
|
||||
return rc;
|
||||
iscsi_prep_data_out_pdu(task, r2t, (struct iscsi_data *) task->hdr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue