From 56b1b3a2b2801ea7c8eb2b0b26d73a58796f1e89 Mon Sep 17 00:00:00 2001 From: jhendersonHDF Date: Mon, 14 Dec 2020 14:15:02 -0600 Subject: Pass LAPL correctly through VOL in H5Lcreate_soft (#170) --- src/H5L.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/H5L.c b/src/H5L.c index 44fdeff..be49441 100644 --- a/src/H5L.c +++ b/src/H5L.c @@ -476,6 +476,10 @@ H5L__create_soft_api_common(const char *link_target, hid_t link_loc_id, const ch /* Set the LCPL for the API context */ H5CX_set_lcpl(lcpl_id); + /* Verify access property list and set up collective metadata if appropriate */ + if (H5CX_set_apl(&lapl_id, H5P_CLS_LACC, link_loc_id, TRUE) < 0) + HGOTO_ERROR(H5E_LINK, H5E_CANTSET, FAIL, "can't set access property list info") + /* link_name is verified in H5VL_setup_name_args() */ /* Set up object access arguments */ if (H5VL_setup_name_args(link_loc_id, link_name, H5P_CLS_LACC, TRUE, lapl_id, vol_obj_ptr, &loc_params) < -- cgit v0.12