From 3b14b38afee08d41d4bb7aea9696790922f20f87 Mon Sep 17 00:00:00 2001 From: wangdi Date: Mon, 31 Jul 2006 19:10:00 +0000 Subject: [PATCH] Branch: b_new_cmd fix stupid type in mdd_rename_unlock --- lustre/mdd/mdd_handler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 1.8.3.1