Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4813fd9
)
Forget to initialize the li_group.
author
jxiong
<jxiong>
Fri, 7 Mar 2008 04:30:25 +0000
(
04:30
+0000)
committer
jxiong
<jxiong>
Fri, 7 Mar 2008 04:30:25 +0000
(
04:30
+0000)
lustre/ldlm/ldlm_lock.c
patch
|
blob
|
history
diff --git
a/lustre/ldlm/ldlm_lock.c
b/lustre/ldlm/ldlm_lock.c
index
d541298
..
825dfb8
100644
(file)
--- 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);
}
GOTO(out, rc = -ENOMEM);
}
+ CFS_INIT_LIST_HEAD(&node->li_group);
ldlm_interval_attach(node, lock);
node = NULL;
}
ldlm_interval_attach(node, lock);
node = NULL;
}