aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMike Christie <michaelc@cs.wisc.edu>2010-07-22 07:29:49 -0400
committerJames Bottomley <James.Bottomley@suse.de>2010-07-28 10:06:06 -0400
commitc01be6dcb2b5cce4feaf48035be6395e5cd7d47c (patch)
treeb3080a6410e46a6c84bb6315bd56cc9fe085d874 /include
parentfe4f0bdeea788a8ac049c097895cb2e4044f18b1 (diff)
[SCSI] iscsi_transport: wait on session in error handler path
wait for session to come online in eh_device_reset_handler and eh_target_reset_handler Signed-off-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com> Signed-off-by: Ravi Anand <ravi.anand@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'include')
-rw-r--r--include/scsi/scsi_transport_iscsi.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/scsi/scsi_transport_iscsi.h b/include/scsi/scsi_transport_iscsi.h
index 349c7f30720d..7fff94b3b2a8 100644
--- a/include/scsi/scsi_transport_iscsi.h
+++ b/include/scsi/scsi_transport_iscsi.h
@@ -32,6 +32,7 @@ struct scsi_transport_template;
32struct iscsi_transport; 32struct iscsi_transport;
33struct iscsi_endpoint; 33struct iscsi_endpoint;
34struct Scsi_Host; 34struct Scsi_Host;
35struct scsi_cmnd;
35struct iscsi_cls_conn; 36struct iscsi_cls_conn;
36struct iscsi_conn; 37struct iscsi_conn;
37struct iscsi_task; 38struct iscsi_task;
@@ -255,5 +256,6 @@ extern int iscsi_scan_finished(struct Scsi_Host *shost, unsigned long time);
255extern struct iscsi_endpoint *iscsi_create_endpoint(int dd_size); 256extern struct iscsi_endpoint *iscsi_create_endpoint(int dd_size);
256extern void iscsi_destroy_endpoint(struct iscsi_endpoint *ep); 257extern void iscsi_destroy_endpoint(struct iscsi_endpoint *ep);
257extern struct iscsi_endpoint *iscsi_lookup_endpoint(u64 handle); 258extern struct iscsi_endpoint *iscsi_lookup_endpoint(u64 handle);
259extern int iscsi_block_scsi_eh(struct scsi_cmnd *cmd);
258 260
259#endif 261#endif