diff options
Diffstat (limited to 'include/scsi')
-rw-r--r-- | include/scsi/scsi_transport_iscsi.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/scsi/scsi_transport_iscsi.h b/include/scsi/scsi_transport_iscsi.h index 53493d591355..f7b0db5f2f5b 100644 --- a/include/scsi/scsi_transport_iscsi.h +++ b/include/scsi/scsi_transport_iscsi.h | |||
@@ -203,7 +203,6 @@ struct iscsi_cls_session { | |||
203 | iscsi_dev_to_session(_stgt->dev.parent) | 203 | iscsi_dev_to_session(_stgt->dev.parent) |
204 | 204 | ||
205 | struct iscsi_host { | 205 | struct iscsi_host { |
206 | int next_target_id; | ||
207 | struct list_head sessions; | 206 | struct list_head sessions; |
208 | struct mutex mutex; | 207 | struct mutex mutex; |
209 | }; | 208 | }; |
@@ -213,9 +212,11 @@ struct iscsi_host { | |||
213 | */ | 212 | */ |
214 | extern struct iscsi_cls_session *iscsi_alloc_session(struct Scsi_Host *shost, | 213 | extern struct iscsi_cls_session *iscsi_alloc_session(struct Scsi_Host *shost, |
215 | struct iscsi_transport *transport); | 214 | struct iscsi_transport *transport); |
216 | extern int iscsi_add_session(struct iscsi_cls_session *session); | 215 | extern int iscsi_add_session(struct iscsi_cls_session *session, |
216 | unsigned int target_id); | ||
217 | extern struct iscsi_cls_session *iscsi_create_session(struct Scsi_Host *shost, | 217 | extern struct iscsi_cls_session *iscsi_create_session(struct Scsi_Host *shost, |
218 | struct iscsi_transport *t); | 218 | struct iscsi_transport *t, |
219 | unsigned int target_id); | ||
219 | extern void iscsi_remove_session(struct iscsi_cls_session *session); | 220 | extern void iscsi_remove_session(struct iscsi_cls_session *session); |
220 | extern void iscsi_free_session(struct iscsi_cls_session *session); | 221 | extern void iscsi_free_session(struct iscsi_cls_session *session); |
221 | extern int iscsi_destroy_session(struct iscsi_cls_session *session); | 222 | extern int iscsi_destroy_session(struct iscsi_cls_session *session); |