From: jxiong Date: Fri, 7 Mar 2008 04:30:25 +0000 (+0000) Subject: Forget to initialize the li_group. X-Git-Tag: v1_7_0_51~158 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=c0523b6a47ef186b0b63bb1d3792c33bd1ac2a5e;p=fs%2Flustre-release.git Forget to initialize the li_group. --- diff --git a/lustre/ldlm/ldlm_lock.c b/lustre/ldlm/ldlm_lock.c index d541298..825dfb8 100644 --- a/lustre/ldlm/ldlm_lock.c +++ b/lustre/ldlm/ldlm_lock.c @@ -1224,6 +1224,7 @@ ldlm_error_t ldlm_lock_enqueue(struct ldlm_namespace *ns, GOTO(out, rc = -ENOMEM); } + CFS_INIT_LIST_HEAD(&node->li_group); ldlm_interval_attach(node, lock); node = NULL; }