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:
8ec0362
)
Branch b1_4
author
adilger
<adilger>
Fri, 27 May 2005 11:35:45 +0000
(11:35 +0000)
committer
adilger
<adilger>
Fri, 27 May 2005 11:35:45 +0000
(11:35 +0000)
Initialize (currently unused) l_childof member of lock struct.
lustre/ldlm/ldlm_lock.c
patch
|
blob
|
history
diff --git
a/lustre/ldlm/ldlm_lock.c
b/lustre/ldlm/ldlm_lock.c
index
a8effa3
..
f81a060
100644
(file)
--- a/
lustre/ldlm/ldlm_lock.c
+++ b/
lustre/ldlm/ldlm_lock.c
@@
-248,6
+248,7
@@
static struct ldlm_lock *ldlm_lock_new(struct ldlm_lock *parent,
atomic_set(&lock->l_refc, 2);
INIT_LIST_HEAD(&lock->l_children);
+ INIT_LIST_HEAD(&lock->l_childof);
INIT_LIST_HEAD(&lock->l_res_link);
INIT_LIST_HEAD(&lock->l_lru);
INIT_LIST_HEAD(&lock->l_export_chain);