[SCSI] zfcp: Avoid referencing freed memory in req send
authorMartin Petermann <martin@linux.vnet.ibm.com>
Fri, 17 Apr 2009 13:08:01 +0000 (15:08 +0200)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Mon, 27 Apr 2009 15:07:15 +0000 (10:07 -0500)
commit135ea137e3c2872448c12d3a8890389fa64990c6
tree017f0ca49ddf8a0e02d5aeaef1e6e9db924b8495
parentb4efdd586bc08cdf5977cad0a90091f44546a930
[SCSI] zfcp: Avoid referencing freed memory in req send

Avoid referencing a fsf request after sending it in fcp_fsf_req_send,
it might have already completed and deallocated.

Signed-off-by: Martin Petermann <martin@linux.vnet.ibm.com>
Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/s390/scsi/zfcp_fsf.c