From: panda Date: Mon, 16 Nov 2009 21:56:59 +0000 (+0000) Subject: b=21320 X-Git-Tag: v1_8_2_05~1^2~3 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=c1940c491d3897323205b3d9577b2ccdcf094d6f;p=fs%2Flustre-release.git b=21320 i=Mike i=Johann i=Yong Fan reinitialise rq_timed_list when needed --- 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