zfcp fix for 2.6.36-rc3
Subsystems (3)
cover zfcp fix for 2.6.36-rc3
James,
here is one fix for the zfcp driver. The patch applies on top of the 2.6.36-rc3 kernel tree.
--
Christof
PATCH 1/1 zfcp: Reorder registration of initial SCSI device
From: Christof Schmitt <[email protected]>
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 <[email protected]>
Signed-off-by Christof Schmitt <[email protected]>
---
drivers/s390/scsi/zfcp_aux.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/s390/scsi/zfcp_aux.c +2 -1
@@ -73,13 +73,14 @@ static void __init zfcp_init_device_confif (!port) goto out_port; +flush_work (&port->rport_work); unit =zfcp_unit_enqueue (port, lun);if (IS_ERR (unit)) goto out_unit;zfcp_erp_unit_reopen (unit,0 ,"auidc_1" ,NULL );zfcp_erp_wait (adapter); -flush_work (&unit->scsi_work); +zfcp_scsi_scan (unit); out_unit:put_device (&port->dev);