summaryrefslogtreecommitdiffstats
path: root/drivers/s390/scsi/zfcp_erp.c
diff options
context:
space:
mode:
authorChristof Schmitt <christof.schmitt@de.ibm.com>2008-11-04 16:35:10 +0100
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-11-05 18:47:19 +0100
commit77fd9494bce3188c20d82e45464ed9b1be83bf98 (patch)
treefde00a1b349fa77a478aadb62bf91f24e63f257e /drivers/s390/scsi/zfcp_erp.c
parent[SCSI] zfcp: Fix cast warning (diff)
downloadlinux-77fd9494bce3188c20d82e45464ed9b1be83bf98.tar.xz
linux-77fd9494bce3188c20d82e45464ed9b1be83bf98.zip
[SCSI] zfcp: Wait for port scan to complete when setting adapter online
Attaching a unit immediately after setting the adapter online should be possible. The problem right now is that the port_scan runs from a workqueue and has not finished when the set_online call returns and the sysfs structures for the ports are not available yet. Fix that by waiting for the port scan to complete. Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com> Signed-off-by: Swen Schillig <swen@vnet.ibm.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/s390/scsi/zfcp_erp.c')
0 files changed, 0 insertions, 0 deletions