X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fobdclass%2Fupcall_cache.c;h=9624c0aa172516ba751782aa72ae1e067dab455f;hb=6c6b8cb972ac92c08dd91d25e57cc6a3703d951e;hp=6023346c6c8cb1c9d7b56770e3954358ba0a37e6;hpb=18c3e9cccbc2159bbc78769d7ae167ee899df366;p=fs%2Flustre-release.git diff --git a/lustre/obdclass/upcall_cache.c b/lustre/obdclass/upcall_cache.c index 6023346..9624c0a 100644 --- a/lustre/obdclass/upcall_cache.c +++ b/lustre/obdclass/upcall_cache.c @@ -35,7 +35,6 @@ */ #define DEBUG_SUBSYSTEM S_SEC -#include #include #include #include @@ -218,7 +217,7 @@ find_again: MAX_SCHEDULE_TIMEOUT; long left; - init_waitqueue_entry(&wait, current); + init_wait(&wait); add_wait_queue(&entry->ue_waitq, &wait); set_current_state(TASK_INTERRUPTIBLE); spin_unlock(&cache->uc_lock);