From 1d63b27a1f2a289bd23314454fc97d918568ba5c Mon Sep 17 00:00:00 2001 From: tappro Date: Sun, 9 Jul 2006 07:26:35 +0000 Subject: [PATCH] - fix wrong lock instead of 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 308b352..68781c4 100644 --- a/lustre/mdd/mdd_handler.c +++ b/lustre/mdd/mdd_handler.c @@ -572,7 +572,7 @@ static int mdd_unlink(const struct lu_context *ctxt, struct md_object *pobj, GOTO(cleanup, rc); } cleanup: - mdd_lock2(ctxt, mdd_pobj, mdd_cobj); + mdd_unlock2(ctxt, mdd_pobj, mdd_cobj); mdd_trans_stop(ctxt, mdd, handle); RETURN(rc); } -- 1.8.3.1