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 <hjelmn@lanl.gov>
Этот коммит содержится в:
родитель
55357ce9be
Коммит
037656bc1d
@ -33,7 +33,7 @@ static int request_free(struct ompi_request_t **ompi_req)
|
||||
ompi_osc_rdma_request_t *request =
|
||||
(ompi_osc_rdma_request_t*) *ompi_req;
|
||||
|
||||
if( REQUEST_COMPLETE(&request->super) ) {
|
||||
if (!REQUEST_COMPLETE(&request->super)) {
|
||||
return MPI_ERR_REQUEST;
|
||||
}
|
||||
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user