diff options
author | Mike Christie <michaelc@cs.wisc.edu> | 2008-05-21 16:54:00 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-07-12 09:22:16 -0400 |
commit | a4804cd6eb19318ae8d08ea967cfeaaf5c5b68a6 (patch) | |
tree | a69acbfdf4e3646ebb7583f0627b7b7952d13b10 /include/scsi/scsi_transport_iscsi.h | |
parent | 756135215ec743be6fdce2bdebe8cdb9f8a231f6 (diff) |
[SCSI] iscsi: add iscsi host helpers
This finishes the host/session unbinding, by adding some helpers
to add and remove hosts and the session they manage.
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'include/scsi/scsi_transport_iscsi.h')
-rw-r--r-- | include/scsi/scsi_transport_iscsi.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/scsi/scsi_transport_iscsi.h b/include/scsi/scsi_transport_iscsi.h index 702eda2904d7..761f62da7cc8 100644 --- a/include/scsi/scsi_transport_iscsi.h +++ b/include/scsi/scsi_transport_iscsi.h | |||
@@ -207,6 +207,10 @@ struct iscsi_cls_host { | |||
207 | char scan_workq_name[KOBJ_NAME_LEN]; | 207 | char scan_workq_name[KOBJ_NAME_LEN]; |
208 | }; | 208 | }; |
209 | 209 | ||
210 | extern void iscsi_host_for_each_session(struct Scsi_Host *shost, | ||
211 | void (*fn)(struct iscsi_cls_session *)); | ||
212 | |||
213 | |||
210 | /* | 214 | /* |
211 | * session and connection functions that can be used by HW iSCSI LLDs | 215 | * session and connection functions that can be used by HW iSCSI LLDs |
212 | */ | 216 | */ |