iscsi-target: add void (*iscsit_release_cmd)()
authorVarun Prakash <varun@chelsio.com>
Tue, 19 Apr 2016 18:30:09 +0000 (00:00 +0530)
committerNicholas Bellinger <nab@linux-iscsi.org>
Tue, 10 May 2016 06:12:06 +0000 (23:12 -0700)
commit7ec811a8e9c3b8289a863d0dac717e08a5093403
tree7437afab71ca6ce7e495dff5dd9a4b1558bfd7ee
parent2854bb23cd5bef39fd845b7bdfac7799438bb920
iscsi-target: add void (*iscsit_release_cmd)()

Add void (*iscsit_release_cmd)() to
struct iscsit_transport, iscsi-target
uses this callback to release transport
driver resources associated with an iSCSI cmd.

cxgbit.ko needs this callback to release DDP
resource and sg page in case of
PASSTHROUGH_SG_TO_MEM_NOALLOC.

Signed-off-by: Varun Prakash <varun@chelsio.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/iscsi/iscsi_target_util.c
include/target/iscsi/iscsi_transport.h