summaryrefslogtreecommitdiffstats
path: root/src/H5D.c
diff options
context:
space:
mode:
authorChris Hogan <chogan@hdfgroup.org>2019-10-28 21:24:54 (GMT)
committerChris Hogan <chogan@hdfgroup.org>2019-11-27 15:36:58 (GMT)
commit3aedc32b1c0eb5c883665ce42e07249f106d3403 (patch)
treebaae04b6513ad2ccd177eeebff4da1f1e9241b1b /src/H5D.c
parent4c1aca327204b6a30a1568cc5b47bb9e98f09087 (diff)
downloadhdf5-3aedc32b1c0eb5c883665ce42e07249f106d3403.zip
hdf5-3aedc32b1c0eb5c883665ce42e07249f106d3403.tar.gz
hdf5-3aedc32b1c0eb5c883665ce42e07249f106d3403.tar.bz2
Use API context to store/retrieve LCPL and DCPL properties
Adding changes from PR 2029 to 1.12 branch.
Diffstat (limited to 'src/H5D.c')
-rw-r--r--src/H5D.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/H5D.c b/src/H5D.c
index 9d811c6..a2e6f0a 100644
--- a/src/H5D.c
+++ b/src/H5D.c
@@ -137,6 +137,9 @@ H5Dcreate2(hid_t loc_id, const char *name, hid_t type_id, hid_t space_id,
/* Set the DCPL for the API context */
H5CX_set_dcpl(dcpl_id);
+ /* 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(&dapl_id, H5P_CLS_DACC, loc_id, TRUE) < 0)
HGOTO_ERROR(H5E_DATASET, H5E_CANTSET, H5I_INVALID_HID, "can't set access property list info")