From f244d8abdaab07041326d7ec170be2c4132b961e Mon Sep 17 00:00:00 2001 From: wangdi Date: Thu, 2 Mar 2006 03:41:45 +0000 Subject: [PATCH] Branch: b_release_1_4_6 b=10253 Just forget fix the lock_mode in release lock --- lustre/mds/mds_join.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lustre/mds/mds_join.c b/lustre/mds/mds_join.c index 7e33da4..1a56542 100644 --- a/lustre/mds/mds_join.c +++ b/lustre/mds/mds_join.c @@ -315,9 +315,9 @@ cleanup: if (dlm_handles[0].cookie != 0) { if (rc) - ldlm_lock_decref(&dlm_handles[0], LCK_PW); + ldlm_lock_decref(&dlm_handles[0], LCK_EX); else - ptlrpc_save_lock(req, &dlm_handles[0], LCK_PW); + ptlrpc_save_lock(req, &dlm_handles[0], LCK_EX); } if (de_tail) l_dput(de_tail); -- 1.8.3.1