From: adilger Date: Fri, 27 May 2005 11:35:45 +0000 (+0000) Subject: Branch b1_4 X-Git-Tag: v1_7_100~1^25~8^2~88 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=30057e6e4a10f9eb135eab8cb81e6f6a16cdc23e;p=fs%2Flustre-release.git Branch b1_4 Initialize (currently unused) l_childof member of lock struct. --- diff --git a/lustre/ldlm/ldlm_lock.c b/lustre/ldlm/ldlm_lock.c index a8effa3..f81a060 100644 --- 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);