1
1

osc/rdma: fix typo in get accumulate path

There was a typo in the ompi_osc_gacc_long_start that was causing a
segmentation fault when executing long get accumulate operations.

cmr=v1.8.1:reviewer=jsquyres

This commit was SVN r31353.
Этот коммит содержится в:
Nathan Hjelm 2014-04-08 21:54:52 +00:00
родитель 9df795d1dd
Коммит a31bfbeb2c

Просмотреть файл

@ -1002,7 +1002,7 @@ static int ompi_osc_gacc_long_start (ompi_osc_rdma_module_t *module, int source,
ret = ompi_osc_rdma_isend_w_cb (target, primitive_count, primitive_datatype, source, get_acc_header->tag,
module->comm, accumulate_cb, acc_data);
if (OPAL_UNLIKELY(OMPI_SUCCESS == ret)) {
if (OPAL_UNLIKELY(OMPI_SUCCESS != ret)) {
/* cancel the receive and free the accumulate data */
ompi_request_cancel (recv_request);
OBJ_RELEASE(acc_data);