summaryrefslogtreecommitdiffstats
path: root/src/H5VLiod_dset.c
diff options
context:
space:
mode:
authorMohamad Chaarawi <chaarawi@hdfgroup.org>2013-11-05 22:58:31 (GMT)
committerMohamad Chaarawi <chaarawi@hdfgroup.org>2013-11-05 22:58:31 (GMT)
commit9ebaa8c59c5ae6710384df79ec9a59c019894631 (patch)
tree1f37c3a47e88d613e36d909219fb90282d07c112 /src/H5VLiod_dset.c
parent8a0555c2a20dd63465549eb92022ab678e21c550 (diff)
downloadhdf5-9ebaa8c59c5ae6710384df79ec9a59c019894631.zip
hdf5-9ebaa8c59c5ae6710384df79ec9a59c019894631.tar.gz
hdf5-9ebaa8c59c5ae6710384df79ec9a59c019894631.tar.bz2
[svn-r24407] more integration with IOD
Diffstat (limited to 'src/H5VLiod_dset.c')
-rw-r--r--src/H5VLiod_dset.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/H5VLiod_dset.c b/src/H5VLiod_dset.c
index a7a6079..069bcf8 100644
--- a/src/H5VLiod_dset.c
+++ b/src/H5VLiod_dset.c
@@ -241,8 +241,8 @@ done:
/* return an UNDEFINED oh to the client if the operation failed */
if(ret_value < 0) {
fprintf(stderr, "failed to create/open Dataset\n");
- output.iod_oh.rd_oh = IOD_HANDLE_INVALID;
- output.iod_oh.wr_oh = IOD_HANDLE_INVALID;
+ output.iod_oh.rd_oh.cookie = IOD_OH_UNDEFINED;
+ output.iod_oh.wr_oh.cookie = IOD_OH_UNDEFINED;
HG_Handler_start_output(op_data->hg_handle, &output);
}
@@ -348,8 +348,8 @@ H5VL_iod_server_dset_open_cb(AXE_engine_t UNUSED axe_engine,
done:
if(ret_value < 0) {
fprintf(stderr, "DSET open FAILED\n");
- output.iod_oh.rd_oh = IOD_HANDLE_INVALID;
- output.iod_oh.wr_oh = IOD_HANDLE_INVALID;
+ output.iod_oh.rd_oh.cookie = IOD_OH_UNDEFINED;
+ output.iod_oh.wr_oh.cookie = IOD_OH_UNDEFINED;
output.iod_id = IOD_OBJ_INVALID;
HG_Handler_start_output(op_data->hg_handle, &output);
}