diff options
author | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2012-06-15 13:39:46 (GMT) |
---|---|---|
committer | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2012-06-15 13:39:46 (GMT) |
commit | 7484f2e9cae4c7e4471aa691c58a3b8a0e1cddff (patch) | |
tree | 514b2bd227109c8df3709dfb1672cd376edd0073 /src/H5F.c | |
parent | 87a81eb5afd4d24b2ba42ef78d8aee433c8e8639 (diff) | |
download | hdf5-7484f2e9cae4c7e4471aa691c58a3b8a0e1cddff.zip hdf5-7484f2e9cae4c7e4471aa691c58a3b8a0e1cddff.tar.gz hdf5-7484f2e9cae4c7e4471aa691c58a3b8a0e1cddff.tar.bz2 |
[svn-r22465] add a vol_info parameter to the fapl and update some of the routines accordingly
insert (commented out though for now) public version of the VOL callback
Diffstat (limited to 'src/H5F.c')
-rw-r--r-- | src/H5F.c | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -337,10 +337,6 @@ H5F_get_access_plist(H5F_t *f, hbool_t app_ref) if(H5P_set(new_plist, H5F_ACS_FILE_DRV_ID_NAME, &(f->shared->lf->driver_id)) < 0) HGOTO_ERROR(H5E_PLIST, H5E_CANTSET, FAIL, "can't set file driver ID") - /* Increment the reference count on the VOL struct and insert it into the property list */ - if(H5P_set(new_plist, H5F_ACS_VOL_NAME, &(f->vol_cls)) < 0) - HGOTO_ERROR(H5E_PLIST, H5E_CANTSET, FAIL, "can't set file VOL plugin") - /* Set the driver "info" in the property list */ driver_info = H5FD_fapl_get(f->shared->lf); if(driver_info != NULL && H5P_set(new_plist, H5F_ACS_FILE_DRV_INFO_NAME, &driver_info) < 0) @@ -353,6 +349,11 @@ H5F_get_access_plist(H5F_t *f, hbool_t app_ref) HGOTO_ERROR(H5E_PLIST, H5E_CANTSET, FAIL, "can't set file close degree") } + /* MSC TODO move this to the upper VOL get routine & set the vol info too*/ + /* Set the VOL class in the property list */ + if(H5P_set(new_plist, H5F_ACS_VOL_NAME, &(f->vol_cls)) < 0) + HGOTO_ERROR(H5E_PLIST, H5E_CANTSET, FAIL, "can't set file VOL plugin") + done: FUNC_LEAVE_NOAPI(ret_value) } /* end H5F_get_access_plist() */ |