Skip to content
This repository was archived by the owner on Sep 30, 2022. It is now read-only.

Commit 3fc75f8

Browse files
bosilcahppritcha
authored andcommitted
Thanks @hjelmn for catching up the typo.
(cherry picked from commit open-mpi/ompi@896f857)
1 parent 03896ae commit 3fc75f8

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)