]> err.no Git - linux-2.6/commit
[SCSI] zfcp: fix: avoid race between fc_remote_port_add and scsi_add_device
authorAndreas Herrmann <aherrman@de.ibm.com>
Sat, 11 Feb 2006 00:43:55 +0000 (01:43 +0100)
committer <jejb@mulgrave.il.steeleye.com> <>
Sun, 12 Feb 2006 17:12:38 +0000 (11:12 -0600)
commit61c41823c50302ca6cd455c48a1395f944c61f8f
tree1a6826ea48b9860717d9e57e9d05d655565bbec8
parented829ad607a9c334cea490d3a8c0f874153fb42d
[SCSI] zfcp: fix: avoid race between fc_remote_port_add and scsi_add_device

Flush workqueue of a scsi host after a remote port for that host
is registered at the fc transport class. Otherwise immediate
registration of a scsi device on that host is racy.

Signed-off-by: Andreas Herrmann <aherrman@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/s390/scsi/zfcp_erp.c