summaryrefslogtreecommitdiffstats
path: root/src/H5VLdaosm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5VLdaosm.c')
-rw-r--r--src/H5VLdaosm.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/H5VLdaosm.c b/src/H5VLdaosm.c
index c7aa399..80defda 100644
--- a/src/H5VLdaosm.c
+++ b/src/H5VLdaosm.c
@@ -1083,6 +1083,10 @@ H5VL_daosm_file_create(const char *name, unsigned flags, hid_t fcpl_id,
/* Hash file name to create uuid */
H5VL_daosm_hash128(name, &file->uuid);
+ /* Determine if we requested collective object ops for the file */
+ if(H5Pget_all_coll_metadata_ops(fapl_id, &file->collective) < 0)
+ HGOTO_ERROR(H5E_FILE, H5E_CANTGET, NULL, "can't get collective access property")
+
/* Generate oid for global metadata object */
daos_obj_id_generate(&gmd_oid, DAOS_OC_TINY_RW);
@@ -1342,7 +1346,7 @@ H5VL_daosm_file_open(const char *name, unsigned flags, hid_t fapl_id,
/* Determine if we requested collective object ops for the file */
if(H5Pget_all_coll_metadata_ops(fapl_id, &file->collective) < 0)
- HGOTO_ERROR(H5E_FILE, H5E_CANTGET, NULL, "can't get collective access property")
+ HGOTO_ERROR(H5E_FILE, H5E_CANTGET, NULL, "can't get collective access property")
if(file->my_rank == 0) {
daos_epoch_t epoch;