summaryrefslogtreecommitdiff
path: root/include/scsi/libiscsi.h
diff options
context:
space:
mode:
authorMike Christie <michaelc@cs.wisc.edu>2009-05-13 17:57:41 -0500
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2009-05-23 15:44:10 -0500
commit8f9256cea10ca43ac80f66e176643eb41db34244 (patch)
tree041a928f5ad598c60c9b9934a22c5714cc92170d /include/scsi/libiscsi.h
parent5700b1af93388544843a453e3c68f8f928bd1e88 (diff)
downloadlinux-3.10-8f9256cea10ca43ac80f66e176643eb41db34244.tar.gz
linux-3.10-8f9256cea10ca43ac80f66e176643eb41db34244.tar.bz2
linux-3.10-8f9256cea10ca43ac80f66e176643eb41db34244.zip
[SCSI] libiscsi: export iscsi_itt_to_task for bnx2i
bnx2i needs to be able to look up mgmt task like login and nop, because it does some processing of them on the completion path. This exports iscsi_itt_to_task so it can look up the task. Signed-off-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'include/scsi/libiscsi.h')
-rw-r--r--include/scsi/libiscsi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/scsi/libiscsi.h b/include/scsi/libiscsi.h
index 0289f5745fb..88d33a46efa 100644
--- a/include/scsi/libiscsi.h
+++ b/include/scsi/libiscsi.h
@@ -406,6 +406,7 @@ extern int __iscsi_complete_pdu(struct iscsi_conn *, struct iscsi_hdr *,
char *, int);
extern int iscsi_verify_itt(struct iscsi_conn *, itt_t);
extern struct iscsi_task *iscsi_itt_to_ctask(struct iscsi_conn *, itt_t);
+extern struct iscsi_task *iscsi_itt_to_task(struct iscsi_conn *, itt_t);
extern void iscsi_requeue_task(struct iscsi_task *task);
extern void iscsi_put_task(struct iscsi_task *task);
extern void __iscsi_get_task(struct iscsi_task *task);