mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 13:44:26 -04: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
|
|
@ -118,7 +118,7 @@ struct iscsi_transport {
|
|||
int (*xmit_task) (struct iscsi_task *task);
|
||||
void (*cleanup_task) (struct iscsi_task *task);
|
||||
|
||||
int (*alloc_pdu) (struct iscsi_task *task);
|
||||
int (*alloc_pdu) (struct iscsi_task *task, uint8_t opcode);
|
||||
int (*xmit_pdu) (struct iscsi_task *task);
|
||||
int (*init_pdu) (struct iscsi_task *task, unsigned int offset,
|
||||
unsigned int count);
|
||||
|
|
|
|||
Loading…
Reference in a new issue