From c1940c491d3897323205b3d9577b2ccdcf094d6f Mon Sep 17 00:00:00 2001 From: panda Date: Mon, 16 Nov 2009 21:56:59 +0000 Subject: [PATCH] b=21320 i=Mike i=Johann i=Yong Fan reinitialise rq_timed_list when needed --- lustre/ptlrpc/service.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/ptlrpc/service.c b/lustre/ptlrpc/service.c index 60deefd..5714aad 100644 --- a/lustre/ptlrpc/service.c +++ b/lustre/ptlrpc/service.c @@ -881,7 +881,7 @@ static int ptlrpc_at_check_timed(struct ptlrpc_service *svc) list_for_each_entry_safe(rq, n, &array->paa_reqs_array[index], rq_timed_list) { if (rq->rq_deadline <= now + at_early_margin) { - list_del(&rq->rq_timed_list); + list_del_init(&rq->rq_timed_list); /** * ptlrpc_server_drop_request() may drop * refcount to 0 already. Let's check this and -- 1.8.3.1