summaryrefslogtreecommitdiffstats
path: root/src/H5VLiod_group.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5VLiod_group.c')
-rw-r--r--src/H5VLiod_group.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/H5VLiod_group.c b/src/H5VLiod_group.c
index 466a039..4007bd7 100644
--- a/src/H5VLiod_group.c
+++ b/src/H5VLiod_group.c
@@ -60,7 +60,7 @@ H5VL_iod_server_group_create_cb(AXE_engine_t UNUSED axe_engine,
iod_obj_id_t cur_id, mdkv_id, attr_id;
char *last_comp = NULL; /* the name of the group obtained from traversal function */
hid_t gcpl_id;
- scratch_pad_t sp;
+ scratch_pad sp;
iod_ret_t ret;
hbool_t collective = FALSE; /* MSC - change when we allow for collective */
herr_t ret_value = SUCCEED;
@@ -104,10 +104,10 @@ H5VL_iod_server_group_create_cb(AXE_engine_t UNUSED axe_engine,
HGOTO_ERROR(H5E_SYM, H5E_CANTINIT, FAIL, "can't create metadata KV object");
/* set values for the scratch pad object */
- sp.mdkv_id = mdkv_id;
- sp.attr_id = attr_id;
- sp.filler1_id = IOD_ID_UNDEFINED;
- sp.filler2_id = IOD_ID_UNDEFINED;
+ sp[0] = mdkv_id;
+ sp[1] = attr_id;
+ sp[2] = IOD_ID_UNDEFINED;
+ sp[3] = IOD_ID_UNDEFINED;
/* set scratch pad in group */
if (iod_obj_set_scratch(grp_oh, wtid, &sp, NULL, NULL) < 0)
@@ -212,7 +212,7 @@ H5VL_iod_server_group_open_cb(AXE_engine_t UNUSED axe_engine,
iod_trans_id_t rtid = input->rcxt_num;
iod_obj_id_t grp_id; /* The ID of the group that needs to be opened */
iod_handle_t grp_oh, mdkv_oh; /* The group handle and its metadata KV handle */
- scratch_pad_t sp;
+ scratch_pad sp;
herr_t ret_value = SUCCEED;
FUNC_ENTER_NOAPI_NOINIT
@@ -230,7 +230,7 @@ H5VL_iod_server_group_open_cb(AXE_engine_t UNUSED axe_engine,
HGOTO_ERROR(H5E_FILE, H5E_CANTINIT, FAIL, "can't get scratch pad for object");
/* open the metadata scratch pad */
- if (iod_obj_open_write(coh, sp.mdkv_id, NULL /*hints*/, &mdkv_oh, NULL) < 0)
+ if (iod_obj_open_write(coh, sp[0], NULL /*hints*/, &mdkv_oh, NULL) < 0)
HGOTO_ERROR(H5E_FILE, H5E_CANTINIT, FAIL, "can't open scratch pad");
/* MSC - retrieve metadata, need IOD */