diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2003-03-19 18:58:54 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2003-03-19 18:58:54 (GMT) |
commit | a52914987ebff61d0347172e11520af02a5a6b4f (patch) | |
tree | 2bfce5cf8f4a54dfb07b5e1a6a13c3404237722f /src/H5Gnode.c | |
parent | d317b8b404bea67439bf9dbb8565f5532d69aa1a (diff) | |
download | hdf5-a52914987ebff61d0347172e11520af02a5a6b4f.zip hdf5-a52914987ebff61d0347172e11520af02a5a6b4f.tar.gz hdf5-a52914987ebff61d0347172e11520af02a5a6b4f.tar.bz2 |
[svn-r6497] Purpose:
Finish code cleanup
Description:
Wrap up the conversion of H5F_flush's multiple boolean flags into a single
bitfield of flags by pushing the flags down into the H5AC_flush and
H5F_istore_flush routines.
Also, changed the flags from H5_FLUSH_<foo> to H5F_FLUSH_<foo> to be more
consistent with rest of library.
And reverted the changes to H5FDflush and H5FD_flush routines.
Platforms tested:
FreeBSD 4.7 (sleipnir)
Solaris 5.8 (sol)
IRIX64 6.5 (modi4) w/parallel
Misc. update:
Diffstat (limited to 'src/H5Gnode.c')
-rw-r--r-- | src/H5Gnode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Gnode.c b/src/H5Gnode.c index f77b4c5..1a153d5 100644 --- a/src/H5Gnode.c +++ b/src/H5Gnode.c @@ -1059,7 +1059,7 @@ H5G_node_remove(H5F_t *f, hid_t dxpl_id, haddr_t addr, void *_lt_key/*in,out*/, sn->nsyms = 0; sn->cache_info.dirty = TRUE; if (H5AC_unprotect(f, dxpl_id, H5AC_SNODE, addr, sn)<0 || - H5AC_flush(f, dxpl_id, H5AC_SNODE, addr, TRUE)<0 || + H5AC_flush(f, dxpl_id, H5AC_SNODE, addr, H5F_FLUSH_INVALIDATE)<0 || H5MF_xfree(f, H5FD_MEM_BTREE, dxpl_id, addr, (hsize_t)H5G_node_size(f))<0) { sn = NULL; HGOTO_ERROR(H5E_SYM, H5E_PROTECT, H5B_INS_ERROR, "unable to free symbol table node"); |