|
@@ -1121,13 +1121,11 @@ static int core_alua_do_transition_tg_pt(
|
|
|
unsigned long transition_tmo;
|
|
|
|
|
|
transition_tmo = tg_pt_gp->tg_pt_gp_implicit_trans_secs * HZ;
|
|
|
- queue_delayed_work(tg_pt_gp->tg_pt_gp_dev->tmr_wq,
|
|
|
- &tg_pt_gp->tg_pt_gp_transition_work,
|
|
|
- transition_tmo);
|
|
|
+ schedule_delayed_work(&tg_pt_gp->tg_pt_gp_transition_work,
|
|
|
+ transition_tmo);
|
|
|
} else {
|
|
|
tg_pt_gp->tg_pt_gp_transition_complete = &wait;
|
|
|
- queue_delayed_work(tg_pt_gp->tg_pt_gp_dev->tmr_wq,
|
|
|
- &tg_pt_gp->tg_pt_gp_transition_work, 0);
|
|
|
+ schedule_delayed_work(&tg_pt_gp->tg_pt_gp_transition_work, 0);
|
|
|
wait_for_completion(&wait);
|
|
|
tg_pt_gp->tg_pt_gp_transition_complete = NULL;
|
|
|
}
|