ha->dpc_thread = NULL;
}
spin_unlock_irq(&ha->dpc_lock);
-
+
if (t != NULL)
kthread_stop(t);
}
ha->host_shutting_down = 1;
spin_unlock_irqrestore(&ha->hardware_lock, flags);
}
- if (qla_target.tgt_host_action != NULL)
+ if (qla_target.tgt_host_action != NULL)
qla_target.tgt_host_action(ha, DISABLE_TARGET_MODE);
#endif