]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] zfcp: Reorder registration of initial SCSI device
authorChristof Schmitt <christof.schmitt@de.ibm.com>
Mon, 30 Aug 2010 08:55:09 +0000 (10:55 +0200)
committerJames Bottomley <James.Bottomley@suse.de>
Thu, 9 Sep 2010 20:36:44 +0000 (15:36 -0500)
commite0a1ec4ad6796468afa7bc70f8d855a97b90650c
tree18408d5465c98abb29924b9dfbfa86a5b9f96b7e
parent040a883288742171177306273443bf60d62e0d4b
[SCSI] zfcp: Reorder registration of initial SCSI device

Make sure that the rport registration did complete and then register
SCSI device directly. Otherwise the unit_enqueue would race with the
call to zfcp_scsi_queue_unit_register.

Reviewed-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_aux.c