From 56a4ebd31ff0a9a5f91738341338a31cd58aab54 Mon Sep 17 00:00:00 2001 From: Johann Lombardi Date: Fri, 28 May 2010 09:44:47 +0200 Subject: [PATCH] b=21938 use correct waitq Fix nit in the original patch. --- lustre/ptlrpc/ptlrpcd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lustre/ptlrpc/ptlrpcd.c b/lustre/ptlrpc/ptlrpcd.c index f771b1e..0a1177f 100644 --- a/lustre/ptlrpc/ptlrpcd.c +++ b/lustre/ptlrpc/ptlrpcd.c @@ -107,10 +107,10 @@ int ptlrpcd_add_req(struct ptlrpc_request *req) req->rq_invalid_rqset = 0; spin_unlock(&req->rq_lock); - + timeout = cfs_time_seconds(5); lwi = LWI_TIMEOUT(timeout, back_to_sleep, NULL); - l_wait_event(req->rq_reply_waitq, (req->rq_set == NULL), &lwi); + l_wait_event(req->rq_set_waitq, (req->rq_set == NULL), &lwi); } else if (req->rq_set) { LASSERT(req->rq_phase == RQ_PHASE_NEW); LASSERT(req->rq_send_state == LUSTRE_IMP_REPLAY); -- 1.8.3.1