diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2010-04-01 16:51:26 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2010-04-01 16:51:26 (GMT) |
commit | e8fd06c497faebc344ff2648b65f2f5debeff7f9 (patch) | |
tree | 810f6632637fdfe2cb62b4b18ce32a5e051e612a /src/H5Gcache.c | |
parent | e1282224cdd7c05ef3c278b4e46b85fb59b2bc72 (diff) | |
download | hdf5-e8fd06c497faebc344ff2648b65f2f5debeff7f9.zip hdf5-e8fd06c497faebc344ff2648b65f2f5debeff7f9.tar.gz hdf5-e8fd06c497faebc344ff2648b65f2f5debeff7f9.tar.bz2 |
[svn-r18485] Description:
Bring r18484 from trunk to 1.8 branch:
Bring r18483 from metadata journaling 'merging' branch to trunk:
Remove unused symbol table entry dirty flag
Tested on:
FreeBSD/32 6.3 (duty) w/debug
(h5committested on trunk)
Diffstat (limited to 'src/H5Gcache.c')
-rw-r--r-- | src/H5Gcache.c | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/src/H5Gcache.c b/src/H5Gcache.c index adc9be9..a5805e3 100644 --- a/src/H5Gcache.c +++ b/src/H5Gcache.c @@ -235,18 +235,6 @@ H5G_node_flush(H5F_t *f, hid_t dxpl_id, hbool_t destroy, haddr_t addr, H5G_node_ HDassert(sym); /* - * Look for dirty entries and set the node dirty flag. - */ - for(u = 0; u < sym->nsyms; u++) - if(sym->entry[u].dirty) { - /* Set the node's dirty flag */ - sym->cache_info.is_dirty = TRUE; - - /* Reset the entry's dirty flag */ - sym->entry[u].dirty = FALSE; - } /* end if */ - - /* * Write the symbol node to disk. */ if(sym->cache_info.is_dirty) { @@ -377,7 +365,6 @@ done: static herr_t H5G_node_clear(H5F_t *f, H5G_node_t *sym, hbool_t destroy) { - unsigned u; /* Local index variable */ herr_t ret_value = SUCCEED; FUNC_ENTER_NOAPI_NOINIT(H5G_node_clear) @@ -387,9 +374,7 @@ H5G_node_clear(H5F_t *f, H5G_node_t *sym, hbool_t destroy) */ HDassert(sym); - /* Look for dirty entries and reset their dirty flag. */ - for(u = 0; u < sym->nsyms; u++) - sym->entry[u].dirty = FALSE; + /* Reset the node's dirty flag */ sym->cache_info.is_dirty = FALSE; /* |