[SCSI] zfcp: Replace fsf_req wait_queue with completion
authorSwen Schillig <swen@vnet.ibm.com>
Tue, 18 Aug 2009 13:43:14 +0000 (15:43 +0200)
committerJames Bottomley <James.Bottomley@suse.de>
Sat, 5 Sep 2009 13:49:18 +0000 (08:49 -0500)
commit058b8647892ed49ba6a0d2c0966a72e20e2e69ff
treeba8baad2244bbacc5974207fb2274fb6c355d385
parentbd63eaf4b8d783e6033930e377e516169abcadc4
[SCSI] zfcp: Replace fsf_req wait_queue with completion

The combination wait_queue/wakeup in conjunction with the flag
ZFCP_STATUS_FSFREQ_COMPLETED to signal the completion of an fsfreq
was not race-safe and can be better solved by a completion.

Signed-off-by: Swen Schillig <swen@vnet.ibm.com>
Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/s390/scsi/zfcp_def.h
drivers/s390/scsi/zfcp_erp.c
drivers/s390/scsi/zfcp_fsf.c
drivers/s390/scsi/zfcp_scsi.c