[SCSI] iscsi_transport: wait on session in error handler path
authorMike Christie <michaelc@cs.wisc.edu>
Thu, 22 Jul 2010 11:29:49 +0000 (16:29 +0530)
committerJames Bottomley <James.Bottomley@suse.de>
Wed, 28 Jul 2010 14:06:06 +0000 (09:06 -0500)
commitc01be6dcb2b5cce4feaf48035be6395e5cd7d47c
treeb3080a6410e46a6c84bb6315bd56cc9fe085d874
parentfe4f0bdeea788a8ac049c097895cb2e4044f18b1
[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>
drivers/scsi/qla4xxx/ql4_os.c
drivers/scsi/scsi_transport_iscsi.c
include/scsi/scsi_transport_iscsi.h