Skip to content

Commit fc64d77

Browse files
committed
osc/rdma: fix bug introduced in b90c838
This commit fixes an bug that was introduced back in 2016 which impacts request-based RMA in some cases. Signed-off-by: Nathan Hjelm <[email protected]> (cherry picked from commit 037656b) Signed-off-by: Nathan Hjelm <[email protected]>
1 parent a351abf commit fc64d77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ompi/mca/osc/rdma/osc_rdma_request.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ static int request_free(struct ompi_request_t **ompi_req)
3333
ompi_osc_rdma_request_t *request =
3434
(ompi_osc_rdma_request_t*) *ompi_req;
3535

36-
if( REQUEST_COMPLETE(&request->super) ) {
36+
if (!REQUEST_COMPLETE(&request->super)) {
3737
return MPI_ERR_REQUEST;
3838
}
3939

0 commit comments

Comments
 (0)