staging/lustre/libcfs: remove init_waitqueue_entry_current
[deliverable/linux.git] / drivers / staging / lustre / lustre / lclient / lcommon_cl.c
index 94b164127e0cb2ad82e0cf8987c56f07cfbc3389..a1902f122a7539e49c2e73547e0ab5f47055a94b 100644 (file)
@@ -1196,7 +1196,7 @@ static void cl_object_put_last(struct lu_env *env, struct cl_object *obj)
 
                bkt = lu_site_bkt_from_fid(site, &header->loh_fid);
 
-               init_waitqueue_entry_current(&waiter);
+               init_waitqueue_entry(&waiter, current);
                add_wait_queue(&bkt->lsb_marche_funebre, &waiter);
 
                while (1) {
This page took 0.026009 seconds and 5 git commands to generate.