From: wangdi Date: Mon, 9 May 2005 07:07:21 +0000 (+0000) Subject: Branch: HEAD X-Git-Tag: 1.4.10~1179 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=2142f69e41b48bc4ed274c719f3e401f5950c103;p=fs%2Flustre-release.git Branch: HEAD miss release parent pdir locks in mds_open --- diff --git a/lustre/mds/mds_open.c b/lustre/mds/mds_open.c index fcbf815..37d21bf 100644 --- a/lustre/mds/mds_open.c +++ b/lustre/mds/mds_open.c @@ -1005,6 +1005,10 @@ got_child: * may conflict with enqueue_order_locks(). so, * drop parent lock and acquire both the locks in * common order. bug 6190 */ +#ifdef S_PDIROPS + if (parent_lockh[1].cookie != 0) + ldlm_lock_decref(parent_lockh + 1, update_mode); +#endif ldlm_lock_decref(parent_lockh, parent_mode); l_dput(dchild); l_dput(dparent);