From b83c5dbee512e40566e45742909149777c71768f Mon Sep 17 00:00:00 2001 From: Nathan Hjelm Date: Fri, 26 May 2017 14:21:01 -0600 Subject: [PATCH] osc/rdma: fix typo in ompi_osc_rdma_lock_acquire_exclusive Fixes #3575 Signed-off-by: Nathan Hjelm --- ompi/mca/osc/rdma/osc_rdma_lock.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ompi/mca/osc/rdma/osc_rdma_lock.h b/ompi/mca/osc/rdma/osc_rdma_lock.h index 5583711ef2..7eaea44bc1 100644 --- a/ompi/mca/osc/rdma/osc_rdma_lock.h +++ b/ompi/mca/osc/rdma/osc_rdma_lock.h @@ -311,7 +311,7 @@ static inline int ompi_osc_rdma_lock_acquire_exclusive (ompi_osc_rdma_module_t * { int ret; - while (1 != (ret = ompi_osc_rdma_lock_try_acquire_exclusive (module, peer, offset))) { + while (1 == (ret = ompi_osc_rdma_lock_try_acquire_exclusive (module, peer, offset))) { ompi_osc_rdma_progress (module); }