From: wangdi Date: Mon, 31 Jul 2006 19:10:00 +0000 (+0000) Subject: Branch: b_new_cmd X-Git-Tag: v1_8_0_110~486^2~1310 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=3b14b38afee08d41d4bb7aea9696790922f20f87;p=fs%2Flustre-release.git Branch: b_new_cmd fix stupid type in mdd_rename_unlock --- diff --git a/lustre/mdd/mdd_handler.c b/lustre/mdd/mdd_handler.c index 47f3295..464a207 100644 --- a/lustre/mdd/mdd_handler.c +++ b/lustre/mdd/mdd_handler.c @@ -787,7 +787,7 @@ static void mdd_rename_unlock(const struct lu_context *ctxt, { mdd_unlock(ctxt, src_pobj, DT_WRITE_LOCK); if (src_pobj != tgt_pobj) - mdd_unlock(ctxt, src_pobj, DT_WRITE_LOCK); + mdd_unlock(ctxt, tgt_pobj, DT_WRITE_LOCK); } static int mdd_rename(const struct lu_context *ctxt, struct md_object *src_pobj,