summaryrefslogtreecommitdiffstats
path: root/src/H5VLiod_attr.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_attr.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_attr.c')
-rw-r--r--src/H5VLiod_attr.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/H5VLiod_attr.c b/src/H5VLiod_attr.c
index 68641da..76ba293 100644
--- a/src/H5VLiod_attr.c
+++ b/src/H5VLiod_attr.c
@@ -73,6 +73,10 @@ H5VL_iod_server_attr_create_cb(AXE_engine_t UNUSED axe_engine,
fprintf(stderr, "Start attribute Create %s on object path %s\n", attr_name, loc_name);
#endif
+ /* MSC - Remove when we have IOD */
+ attr_oh.rd_oh.cookie=0;
+ attr_oh.wr_oh.cookie=0;
+
/* Open the object where the attribute needs to be created. */
if(H5VL_iod_server_open_path(coh, loc_id, loc_handle, loc_name, rtid, &obj_id, &obj_oh) < 0)
HGOTO_ERROR(H5E_SYM, H5E_NOSPACE, FAIL, "can't open object");
@@ -312,6 +316,10 @@ H5VL_iod_server_attr_open_cb(AXE_engine_t UNUSED axe_engine,
/* close the attribute KV holder */
iod_obj_close(attr_kv_oh, NULL, NULL);
+ /* MSC - Remove when we have IOD */
+ attr_oh.rd_oh.cookie=0;
+ attr_oh.wr_oh.cookie=0;
+
/* open the attribute */
if (iod_obj_open_read(coh, attr_id, NULL /*hints*/, &attr_oh.rd_oh, NULL) < 0)
HGOTO_ERROR(H5E_SYM, H5E_CANTINIT, FAIL, "can't open current group");