Skip to content

Commit 896f857

Browse files
committed
Thanks @hjelmn for catching up the typo.
1 parent 92290b9 commit 896f857

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ompi/mca/pml/ob1/pml_ob1_recvreq.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ static int mca_pml_ob1_recv_request_cancel(struct ompi_request_t* ompi_request,
106106
/* The rest should be protected behind the match logic lock */
107107
OB1_MATCHING_LOCK(&ob1_comm->matching_lock);
108108
if( true == request->req_match_received ) { /* way to late to cancel this one */
109-
OB1_MATCHING_LOCK(&ob1_comm->matching_lock);
109+
OB1_MATCHING_UNLOCK(&ob1_comm->matching_lock);
110110
assert( OMPI_ANY_TAG != ompi_request->req_status.MPI_TAG ); /* not matched isn't it */
111111
return OMPI_SUCCESS;
112112
}

0 commit comments

Comments
 (0)