Skip to content

Commit 2005655

Browse files
authored
Merge pull request #10058 from bwbarrett/bugfix/osc-rdma-priority
osc/rdma: Fix priority setting bug
2 parents f3ac332 + cf253bc commit 2005655

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ompi/mca/osc/rdma/osc_rdma_component.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,6 @@ static int ompi_osc_rdma_component_query (struct ompi_win_t *win, void **base, s
374374
struct ompi_communicator_t *comm, struct opal_info_t *info,
375375
int flavor)
376376
{
377-
378377
if (MPI_WIN_FLAVOR_SHARED == flavor) {
379378
return -1;
380379
}
@@ -395,7 +394,7 @@ static int ompi_osc_rdma_component_query (struct ompi_win_t *win, void **base, s
395394
return -1;
396395
}
397396

398-
return OMPI_SUCCESS;;
397+
return mca_osc_rdma_component.priority;
399398
}
400399

401400
static int ompi_osc_rdma_initialize_region (ompi_osc_rdma_module_t *module, void **base, size_t size) {

0 commit comments

Comments
 (0)