aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/ibmvscsi
diff options
context:
space:
mode:
authorSeokmann Ju <seokmann.ju@qlogic.com>2009-01-22 09:45:38 -0800
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2009-01-25 07:59:12 -0600
commit3c01b4f9fbb43fc911acd33ea7a14ea7a4f9866b (patch)
treeb9b80844105cdaa6b1cbbc3309de80524cc5d552 /drivers/scsi/ibmvscsi
parent53303c42d5a148a73b201a04c89e371d4d5a150f (diff)
[SCSI] qla2xxx: Add checks for a valid fcport in dev-loss-tmo/terminate_rport_io callbacks.
Commit f78badb1ae07e7f8b835ab2ea0b456ed3fc4caf4 ([SCSI] fc transport: pre-emptively terminate i/o upon dev_loss_tmo timeout) changed the callback semantics of dev_loss_tmo and terminate_rport_io such that repeated calls could be made. This could result in the the driver using stale (NULLed-out, in dev_loss_tmo) data from the rport. Correct this by addint a simple check to ensure a valid fcport is attached. Signed-off-by: Seokmann Ju <seokmann.ju@qlogic.com> Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/ibmvscsi')
0 files changed, 0 insertions, 0 deletions