diff options
author | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2012-07-10 22:20:16 (GMT) |
---|---|---|
committer | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2012-07-10 22:20:16 (GMT) |
commit | 1cfe5fa4dea7918edc52521d05f2db3c7f4525fb (patch) | |
tree | dc08d51d4fa31d4676bf7c1586354a05ec590e02 /src/H5O.c | |
parent | 47446e4d5bf281371ebf19d95432cfe98368dbcb (diff) | |
download | hdf5-1cfe5fa4dea7918edc52521d05f2db3c7f4525fb.zip hdf5-1cfe5fa4dea7918edc52521d05f2db3c7f4525fb.tar.gz hdf5-1cfe5fa4dea7918edc52521d05f2db3c7f4525fb.tar.bz2 |
[svn-r22549]
move ref count management on the VOL struct inside the VLint code
- H5Freopen still needs to be handled
create the public interface for VOL callbacks:
- unresolved issue with var_args
update and create new API fapl calls to support stacking drivers:
- need to add fapl copy callback
fix a memory leak with registration of external plugins
Diffstat (limited to 'src/H5O.c')
-rw-r--r-- | src/H5O.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -261,7 +261,6 @@ H5Oopen(hid_t loc_id, const char *name, hid_t lapl_id) /* Get an atom for the object */ if((ret_value = H5I_register2(opened_type, opened_obj, vol_plugin, TRUE)) < 0) HGOTO_ERROR(H5E_ATOM, H5E_CANTREGISTER, FAIL, "unable to atomize dataset handle") - vol_plugin->nrefs++; #if 0 if ((ret_value = H5VL_object_register(opened_obj, opened_type, vol_plugin)) < 0) HGOTO_ERROR(H5E_ATOM, H5E_CANTREGISTER, FAIL, "unable to atomize dataset handle") @@ -344,7 +343,6 @@ H5Oopen_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, /* Get an atom for the object */ if((ret_value = H5I_register2(opened_type, opened_obj, vol_plugin, TRUE)) < 0) HGOTO_ERROR(H5E_ATOM, H5E_CANTREGISTER, FAIL, "unable to atomize dataset handle") - vol_plugin->nrefs++; done: FUNC_LEAVE_API(ret_value) @@ -417,7 +415,6 @@ H5Oopen_by_addr(hid_t loc_id, haddr_t addr) /* Get an atom for the object */ if((ret_value = H5I_register2(opened_type, opened_obj, vol_plugin, TRUE)) < 0) HGOTO_ERROR(H5E_ATOM, H5E_CANTREGISTER, FAIL, "unable to atomize dataset handle") - vol_plugin->nrefs++; done: FUNC_LEAVE_API(ret_value) |