]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[SCSI] zfcp: remove union zfcp_req_data, use unit refcount for FCP commands
authorAndreas Herrmann <aherrman@de.ibm.com>
Tue, 13 Sep 2005 19:47:52 +0000 (21:47 +0200)
committerJames Bottomley <jejb@mulgrave.(none)>
Mon, 19 Sep 2005 18:01:23 +0000 (13:01 -0500)
commit059c97d0434834d291eff94669ca2dd3eaac9d28
tree70719559f65366c74eb82ee8c7c7a01a0d80aca9
parent3734d24b2e8d85796de70c13705cfb7cbb1d77df
[SCSI] zfcp: remove union zfcp_req_data, use unit refcount for FCP commands

o union zfcp_req_data removed
o increment unit refcount when processing FCP commands
 (This fixes a theoretical race: When all scsi commands of a unit
  are aborted and the scsi_device is removed then the unit could be
  removed before all fsf_requests of that unit are completely processed.)

Signed-off-by: Andreas Herrmann <aherrman@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/s390/scsi/zfcp_aux.c
drivers/s390/scsi/zfcp_def.h
drivers/s390/scsi/zfcp_fsf.c
drivers/s390/scsi/zfcp_scsi.c