summaryrefslogtreecommitdiffstats
path: root/src/H5B.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-03-19 18:58:54 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-03-19 18:58:54 (GMT)
commita52914987ebff61d0347172e11520af02a5a6b4f (patch)
tree2bfce5cf8f4a54dfb07b5e1a6a13c3404237722f /src/H5B.c
parentd317b8b404bea67439bf9dbb8565f5532d69aa1a (diff)
downloadhdf5-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/H5B.c')
-rw-r--r--src/H5B.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5B.c b/src/H5B.c
index 2b4d6e0..b1463ae 100644
--- a/src/H5B.c
+++ b/src/H5B.c
@@ -1709,7 +1709,7 @@ H5B_remove_helper(H5F_t *f, hid_t dxpl_id, haddr_t addr, const H5B_class_t *type
sizeof_rkey = (type->get_sizeof_rkey)(f, udata);
sizeof_node = H5B_nodesize(f, type, NULL, sizeof_rkey);
if (H5AC_unprotect(f, dxpl_id, H5AC_BT, addr, bt)<0 ||
- H5AC_flush(f, dxpl_id, H5AC_BT, addr, TRUE)<0 ||
+ H5AC_flush(f, dxpl_id, H5AC_BT, addr, H5F_FLUSH_INVALIDATE)<0 ||
H5MF_xfree(f, H5FD_MEM_BTREE, dxpl_id, addr, sizeof_node)<0) {
bt = NULL;
HGOTO_ERROR(H5E_BTREE, H5E_PROTECT, H5B_INS_ERROR, "unable to free B-tree node");