diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/scsi/scsi_transport_iscsi.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/scsi/scsi_transport_iscsi.h b/include/scsi/scsi_transport_iscsi.h index 1f0ec46b4f87..83693ba09c29 100644 --- a/include/scsi/scsi_transport_iscsi.h +++ b/include/scsi/scsi_transport_iscsi.h | |||
@@ -203,6 +203,7 @@ struct iscsi_cls_session { | |||
203 | 203 | ||
204 | struct iscsi_host { | 204 | struct iscsi_host { |
205 | struct list_head sessions; | 205 | struct list_head sessions; |
206 | atomic_t nr_scans; | ||
206 | struct mutex mutex; | 207 | struct mutex mutex; |
207 | struct workqueue_struct *scan_workq; | 208 | struct workqueue_struct *scan_workq; |
208 | char scan_workq_name[KOBJ_NAME_LEN]; | 209 | char scan_workq_name[KOBJ_NAME_LEN]; |
@@ -229,6 +230,6 @@ extern struct iscsi_cls_conn *iscsi_create_conn(struct iscsi_cls_session *sess, | |||
229 | extern int iscsi_destroy_conn(struct iscsi_cls_conn *conn); | 230 | extern int iscsi_destroy_conn(struct iscsi_cls_conn *conn); |
230 | extern void iscsi_unblock_session(struct iscsi_cls_session *session); | 231 | extern void iscsi_unblock_session(struct iscsi_cls_session *session); |
231 | extern void iscsi_block_session(struct iscsi_cls_session *session); | 232 | extern void iscsi_block_session(struct iscsi_cls_session *session); |
232 | 233 | extern int iscsi_scan_finished(struct Scsi_Host *shost, unsigned long time); | |
233 | 234 | ||
234 | #endif | 235 | #endif |