staging/lustre/libcfs: remove init_waitqueue_entry_current
[deliverable/linux.git] / drivers / staging / lustre / lustre / lov / lov_object.c
index 7a85cafecf1b570f0514fdf266ff7b060cca984c..8a7a55e771ad4b1cdd74b3fd4091434801415b72 100644 (file)
@@ -310,7 +310,7 @@ static void lov_subobject_kill(const struct lu_env *env, struct lov_object *lov,
         * ->lo_sub[] slot in lovsub_object_fini() */
        if (r0->lo_sub[idx] == los) {
                waiter = &lov_env_info(env)->lti_waiter;
-               init_waitqueue_entry_current(waiter);
+               init_waitqueue_entry(waiter, current);
                add_wait_queue(&bkt->lsb_marche_funebre, waiter);
                set_current_state(TASK_UNINTERRUPTIBLE);
                while (1) {
This page took 0.026318 seconds and 5 git commands to generate.