]> git.baikalelectronics.ru Git - kernel.git/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)
commitd29c3b9c946d5f3cca72945024579708dfe11325
tree1a6826ea48b9860717d9e57e9d05d655565bbec8
parentfb24da185e715dff38bd8401f604bc52da471ccd
[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