Whamcloud - gitweb
Forget to initialize the li_group.
[fs/lustre-release.git] / lustre / ldlm / ldlm_lock.c
index 801ce27..8fc306a 100644 (file)
@@ -1218,6 +1218,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;
         }