summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorjhendersonHDF <jhenderson@hdfgroup.org>2020-12-14 20:15:02 (GMT)
committerGitHub <noreply@github.com>2020-12-14 20:15:02 (GMT)
commit56b1b3a2b2801ea7c8eb2b0b26d73a58796f1e89 (patch)
tree929000e4af8fc077e386bbae5d98fd8dfdf00622 /src
parent0f12cd9212f2852da353a53234e223e75ae0609b (diff)
downloadhdf5-56b1b3a2b2801ea7c8eb2b0b26d73a58796f1e89.zip
hdf5-56b1b3a2b2801ea7c8eb2b0b26d73a58796f1e89.tar.gz
hdf5-56b1b3a2b2801ea7c8eb2b0b26d73a58796f1e89.tar.bz2
Pass LAPL correctly through VOL in H5Lcreate_soft (#170)hdf5-1_13_0-rc2
Diffstat (limited to 'src')
-rw-r--r--src/H5L.c4
1 files changed, 4 insertions, 0 deletions
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) <