From: Alexander.Zarochentsev Date: Fri, 9 Apr 2010 01:24:01 +0000 (-0700) Subject: b=22359 fix t_id for the recovery thread X-Git-Tag: 1.10.0.40~2 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=b98c2e2a463f4a9a5d548a9f20c9027f067a9709;p=fs%2Flustre-release.git b=22359 fix t_id for the recovery thread arbitrary uninialized value in the recovery thread t_id was the reason of filter_iobuf_get()) ASSERTION(thread_id < filter->fo_iobuf_count) failure. i=tappro i=andrew.perepechko --- diff --git a/lustre/ldlm/ldlm_lib.c b/lustre/ldlm/ldlm_lib.c index 0e0ccab..3b4479b 100644 --- a/lustre/ldlm/ldlm_lib.c +++ b/lustre/ldlm/ldlm_lib.c @@ -1725,6 +1725,7 @@ static int target_recovery_thread(void *arg) RETURN(rc); thread->t_env = &env; + thread->t_id = -1; /* force filter_iobuf_get/put to use local buffers */ env.le_ctx.lc_thread = thread; CERROR("%s: started recovery thread pid %d\n", obd->obd_name,