diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2006-05-23 00:44:26 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2006-05-23 00:44:26 (GMT) |
commit | efe514d714294f9df3a2ad7aedb0001a16a4dfe2 (patch) | |
tree | d31afcb8e5df6d92d968796a74e5e01b8c905757 /src/H5AC.c | |
parent | 5d2bddcd0654b9f1ad548799e6828780a30b506c (diff) | |
download | hdf5-efe514d714294f9df3a2ad7aedb0001a16a4dfe2.zip hdf5-efe514d714294f9df3a2ad7aedb0001a16a4dfe2.tar.gz hdf5-efe514d714294f9df3a2ad7aedb0001a16a4dfe2.tar.bz2 |
[svn-r12363] Purpose:
Bug fix
Description:
When destroying the cache for a file, don't disconnect the cache from the
file structure until after the cache is shut dow, to allow pinned entries to
be unpinned.
Platforms tested:
Linux 2.4 (chicago)
Too minor to require h5committest
Diffstat (limited to 'src/H5AC.c')
-rw-r--r-- | src/H5AC.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -763,13 +763,13 @@ H5AC_dest(H5F_t *f, hid_t dxpl_id) } #endif /* H5_HAVE_PARALLEL */ - f->shared->cache = NULL; - if ( H5C_dest(f, dxpl_id, H5AC_noblock_dxpl_id, cache) < 0 ) { HGOTO_ERROR(H5E_CACHE, H5E_CANTFREE, FAIL, "can't destroy cache") } + f->shared->cache = NULL; + #ifdef H5_HAVE_PARALLEL if ( aux_ptr != NULL ) { |