[SCSI] libfc: Pass lport in exch_mgr_reset
[deliverable/linux.git] / drivers / scsi / libfc / fc_lport.c
index 0b9bdb1fb807d8f2b0e7eee7a63f0dc6f5a2ee80..5db223ce3b25c071dde65d0b65d42607a1e17c58 100644 (file)
@@ -663,7 +663,7 @@ int fc_lport_destroy(struct fc_lport *lport)
 {
        lport->tt.frame_send = fc_frame_drop;
        lport->tt.fcp_abort_io(lport);
-       lport->tt.exch_mgr_reset(lport->emp, 0, 0);
+       lport->tt.exch_mgr_reset(lport, 0, 0);
        return 0;
 }
 EXPORT_SYMBOL(fc_lport_destroy);
@@ -973,7 +973,7 @@ static void fc_lport_enter_reset(struct fc_lport *lport)
 
        lport->tt.disc_stop(lport);
 
-       lport->tt.exch_mgr_reset(lport->emp, 0, 0);
+       lport->tt.exch_mgr_reset(lport, 0, 0);
        fc_host_fabric_name(lport->host) = 0;
        fc_host_port_id(lport->host) = 0;
 
This page took 0.025585 seconds and 5 git commands to generate.