diff options
author | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2012-04-20 20:40:23 (GMT) |
---|---|---|
committer | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2012-04-20 20:40:23 (GMT) |
commit | 8f0cec6ac74b908b83bf2235799e79bdebd74898 (patch) | |
tree | 7c6de3069361bf433cded2b36f59521552e2f166 /src/H5Rdeprec.c | |
parent | 25f759d15adae9665b1608cb1d9e5dcead721d8d (diff) | |
download | hdf5-8f0cec6ac74b908b83bf2235799e79bdebd74898.zip hdf5-8f0cec6ac74b908b83bf2235799e79bdebd74898.tar.gz hdf5-8f0cec6ac74b908b83bf2235799e79bdebd74898.tar.bz2 |
[svn-r22306] add a request id to each of the VOL callbacks and update the native
plugin to pass a NULL request
Diffstat (limited to 'src/H5Rdeprec.c')
-rw-r--r-- | src/H5Rdeprec.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5Rdeprec.c b/src/H5Rdeprec.c index ca27833..b3838f1 100644 --- a/src/H5Rdeprec.c +++ b/src/H5Rdeprec.c @@ -146,7 +146,7 @@ H5Rget_obj_type1(hid_t id, H5R_type_t ref_type, const void *ref) HGOTO_ERROR(H5E_ARGS, H5E_BADVALUE, H5G_UNKNOWN, "invalid reference pointer") /* get the object type through the VOL */ - if((ret_value = H5VL_object_get(id, H5VL_REF_GET_TYPE, &obj_type, ref_type, ref)) < 0) + if((ret_value = H5VL_object_get(id, H5VL_REF_GET_TYPE, H5_REQUEST_NULL, &obj_type, ref_type, ref)) < 0) HGOTO_ERROR(H5E_INTERNAL, H5E_CANTGET, FAIL, "unable to get group info") /* Set return value */ @@ -196,11 +196,11 @@ H5Rdereference1(hid_t obj_id, H5R_type_t ref_type, const void *_ref) HGOTO_ERROR(H5E_ARGS, H5E_BADVALUE, FAIL, "invalid reference pointer") /* Get the token for the Object location through the VOL */ - if(H5VL_object_lookup (obj_id, H5VL_OBJECT_LOOKUP_BY_REF, &location, ref_type, _ref) < 0) + if(H5VL_object_lookup (obj_id, H5VL_OBJECT_LOOKUP_BY_REF, H5_REQUEST_NULL, &location, ref_type, _ref) < 0) HGOTO_ERROR(H5E_SYM, H5E_CANTINIT, FAIL, "unable to locate object") /* Open the object through the VOL */ - if((ret_value = H5VL_object_open_by_loc(obj_id, location, H5P_DATASET_ACCESS_DEFAULT)) < 0) + if((ret_value = H5VL_object_open_by_loc(obj_id, location, H5P_DATASET_ACCESS_DEFAULT, H5_REQUEST_NULL)) < 0) HGOTO_ERROR(H5E_SYM, H5E_CANTINIT, FAIL, "unable to open object") done: |