[SCSI] qla4xxx: fix recovery timer and session unblock race
authorMike Christie <michaelc@cs.wisc.edu>
Thu, 31 Jan 2008 19:36:47 +0000 (13:36 -0600)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Fri, 8 Feb 2008 00:02:35 +0000 (18:02 -0600)
commit568d303b5b3f0f6432ae8f56ecdb0beb2341288e
treee3f2b4220c121e1e6b0a168923a7419cb5010f82
parentbd976f62cd6c6dda1ce57bf3e84447e94844868a
[SCSI] qla4xxx: fix recovery timer and session unblock race

If qla4xxx is resetting up a session and the recovery timer
fires we do not want to just set it to dead, because
the dpc thread could have just set it to online and is in the
middle of resetting it up.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Cc: David Somayajulu <david.somayajulu@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/qla4xxx/ql4_os.c