Whamcloud - gitweb
- fix wrong lock instead of unlock
authortappro <tappro>
Sun, 9 Jul 2006 07:26:35 +0000 (07:26 +0000)
committertappro <tappro>
Sun, 9 Jul 2006 07:26:35 +0000 (07:26 +0000)
lustre/mdd/mdd_handler.c

index 308b352..68781c4 100644 (file)
@@ -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);
 }