summaryrefslogtreecommitdiffstats
path: root/src/H5VLiod_map.c
diff options
context:
space:
mode:
authorMohamad Chaarawi <chaarawi@hdfgroup.org>2013-10-17 21:13:27 (GMT)
committerMohamad Chaarawi <chaarawi@hdfgroup.org>2013-10-17 21:13:27 (GMT)
commit202e92d6bc3dd4e785dfca00c930adaf6d78cfa8 (patch)
tree62b46192f0c3ba75040a524c7637285fabd21f98 /src/H5VLiod_map.c
parentbdd0425b1f14907d02e10c9264e74e8223b42e95 (diff)
downloadhdf5-202e92d6bc3dd4e785dfca00c930adaf6d78cfa8.zip
hdf5-202e92d6bc3dd4e785dfca00c930adaf6d78cfa8.tar.gz
hdf5-202e92d6bc3dd4e785dfca00c930adaf6d78cfa8.tar.bz2
[svn-r24321] - Update FF branch to work with latest Mercury implementation.
- some minor fixes.
Diffstat (limited to 'src/H5VLiod_map.c')
-rw-r--r--src/H5VLiod_map.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/H5VLiod_map.c b/src/H5VLiod_map.c
index 5c207d9..a474473 100644
--- a/src/H5VLiod_map.c
+++ b/src/H5VLiod_map.c
@@ -78,6 +78,10 @@ H5VL_iod_server_map_create_cb(AXE_engine_t UNUSED axe_engine,
fprintf(stderr, "Start map create %s\n", name);
#endif
+ /* MSC - Remove when we have IOD */
+ map_oh.rd_oh.cookie=0;
+ map_oh.wr_oh.cookie=0;
+
/* the traversal will retrieve the location where the map needs
to be created. The traversal will fail if an intermediate group
does not exist. */
@@ -174,7 +178,7 @@ H5VL_iod_server_map_create_cb(AXE_engine_t UNUSED axe_engine,
output.iod_oh.wr_oh.cookie = map_oh.wr_oh.cookie;
HG_Handler_start_output(op_data->hg_handle, &output);
- done:
+done:
/* return an UNDEFINED oh to the client if the operation failed */
if(ret_value < 0) {
fprintf(stderr, "Failed Map Create\n");
@@ -239,6 +243,10 @@ H5VL_iod_server_map_open_cb(AXE_engine_t UNUSED axe_engine,
if(H5VL_iod_server_open_path(coh, loc_id, loc_handle, name, rtid, &map_id, &map_oh) < 0)
HGOTO_ERROR(H5E_SYM, H5E_NOSPACE, FAIL, "can't open object");
+ /* MSC - Remove when we have IOD */
+ map_oh.rd_oh.cookie=0;
+ map_oh.wr_oh.cookie=0;
+
/* open a write handle on the ID. */
if (iod_obj_open_write(coh, map_id, NULL, &map_oh.wr_oh, NULL) < 0)
HGOTO_ERROR(H5E_SYM, H5E_CANTINIT, FAIL, "can't open current map");