summaryrefslogtreecommitdiffstats
path: root/src/H5HFiter.c
diff options
context:
space:
mode:
authorMike McGreevy <mamcgree@hdfgroup.org>2008-08-08 22:01:29 (GMT)
committerMike McGreevy <mamcgree@hdfgroup.org>2008-08-08 22:01:29 (GMT)
commita6edfcad19bc6124f71cb8dc76161cdbe74094e2 (patch)
tree2ceb03cb8a4b1c07e395d7b7708821af0d96618d /src/H5HFiter.c
parente36116f962b815ff485f2c964f99483a1af069b6 (diff)
downloadhdf5-a6edfcad19bc6124f71cb8dc76161cdbe74094e2.zip
hdf5-a6edfcad19bc6124f71cb8dc76161cdbe74094e2.tar.gz
hdf5-a6edfcad19bc6124f71cb8dc76161cdbe74094e2.tar.bz2
[svn-r15454] Purpose: metadata cache client conversions
Description: converted the fractal heap header and indirect block metadata cache clients over to use the new journaling cache callbacks. Tested: kagiso, smirom
Diffstat (limited to 'src/H5HFiter.c')
-rw-r--r--src/H5HFiter.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5HFiter.c b/src/H5HFiter.c
index 81ae03d..4ac10b5 100644
--- a/src/H5HFiter.c
+++ b/src/H5HFiter.c
@@ -227,7 +227,7 @@ HDfprintf(stderr, "%s: biter->curr->entry = %u\n", FUNC, biter->curr->entry);
} /* end else */
/* Load indirect block for this context location */
- if(NULL == (iblock = H5HF_man_iblock_protect(hdr, dxpl_id, iblock_addr, iblock_nrows, iblock_parent, iblock_par_entry, FALSE, H5AC_WRITE, &did_protect)))
+ if(NULL == (iblock = H5HF_man_iblock_protect(hdr, dxpl_id, iblock_addr, iblock_nrows, iblock_parent, iblock_par_entry, FALSE, H5AC2_WRITE, &did_protect)))
HGOTO_ERROR(H5E_HEAP, H5E_CANTPROTECT, FAIL, "unable to protect fractal heap indirect block")
/* Make indirect block the context for the current location */
@@ -238,7 +238,7 @@ HDfprintf(stderr, "%s: biter->curr->entry = %u\n", FUNC, biter->curr->entry);
HGOTO_ERROR(H5E_HEAP, H5E_CANTINC, FAIL, "can't increment reference count on shared indirect block")
/* Release the current indirect block */
- if(H5HF_man_iblock_unprotect(iblock, dxpl_id, H5AC__NO_FLAGS_SET, did_protect) < 0)
+ if(H5HF_man_iblock_unprotect(iblock, dxpl_id, H5AC2__NO_FLAGS_SET, did_protect) < 0)
HGOTO_ERROR(H5E_HEAP, H5E_CANTUNPROTECT, FAIL, "unable to release fractal heap indirect block")
iblock = NULL;