diff options
author | Nicholas Bellinger <nab@linux-iscsi.org> | 2013-03-06 22:09:17 -0800 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2013-04-25 01:05:27 -0700 |
commit | cdb726651c357c19c02b17ee3c99a224b03022b6 (patch) | |
tree | 536be3108d6f25ce95bff4d02fd966d58b0b466a /drivers/target/iscsi/iscsi_target_erl1.c | |
parent | 03aa207060e395282c5ea0c055e2050b35803b4d (diff) |
iscsi-target: Add per transport iscsi_cmd alloc/free
This patch converts struct iscsi_cmd memory allocation + free to use
->iscsit_alloc_cmd() iscsit_transport API caller, and export
iscsit_allocate_cmd() symbols
Also add iscsi_cmd->release_cmd() to be used seperately from
iscsit_transport for connection/session shutdown.
v2 changes:
- Remove unnecessary checks in iscsit_alloc_cmd (asias)
- Drop iscsit_transport->iscsit_free_cmd() usage
- Drop iscsit_transport->iscsit_unmap_cmd() usage
- Add iscsi_cmd->release_cmd()
- Convert lio_release_cmd() to use iscsi_cmd->release_cmd()
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/iscsi/iscsi_target_erl1.c')
0 files changed, 0 insertions, 0 deletions