From: tappro Date: Sun, 9 Jul 2006 07:26:35 +0000 (+0000) Subject: - fix wrong lock instead of unlock X-Git-Tag: v1_8_0_110~486^2~1465 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=1d63b27a1f2a289bd23314454fc97d918568ba5c;p=fs%2Flustre-release.git - fix wrong lock instead of unlock --- 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); }