From: wangdi Date: Thu, 2 Mar 2006 03:41:45 +0000 (+0000) Subject: Branch: b_release_1_4_6 X-Git-Tag: v1_7_100~1^103~4^2~3 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=f244d8abdaab07041326d7ec170be2c4132b961e;p=fs%2Flustre-release.git Branch: b_release_1_4_6 b=10253 Just forget fix the lock_mode in release lock --- 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);