From 2142f69e41b48bc4ed274c719f3e401f5950c103 Mon Sep 17 00:00:00 2001 From: wangdi Date: Mon, 9 May 2005 07:07:21 +0000 Subject: [PATCH] Branch: HEAD miss release parent pdir locks in mds_open --- lustre/mds/mds_open.c | 4 ++++ 1 file changed, 4 insertions(+) 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); -- 1.8.3.1