From 896f857fc4debe6ac84d759ddd617ed937d746b4 Mon Sep 17 00:00:00 2001 From: George Bosilca Date: Thu, 7 Apr 2016 13:56:26 -0400 Subject: [PATCH] Thanks @hjelmn for catching up the typo. --- ompi/mca/pml/ob1/pml_ob1_recvreq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ompi/mca/pml/ob1/pml_ob1_recvreq.c b/ompi/mca/pml/ob1/pml_ob1_recvreq.c index a912bc37be..98a9b93908 100644 --- a/ompi/mca/pml/ob1/pml_ob1_recvreq.c +++ b/ompi/mca/pml/ob1/pml_ob1_recvreq.c @@ -106,7 +106,7 @@ static int mca_pml_ob1_recv_request_cancel(struct ompi_request_t* ompi_request, /* The rest should be protected behind the match logic lock */ OB1_MATCHING_LOCK(&ob1_comm->matching_lock); if( true == request->req_match_received ) { /* way to late to cancel this one */ - OB1_MATCHING_LOCK(&ob1_comm->matching_lock); + OB1_MATCHING_UNLOCK(&ob1_comm->matching_lock); assert( OMPI_ANY_TAG != ompi_request->req_status.MPI_TAG ); /* not matched isn't it */ return OMPI_SUCCESS; }