summaryrefslogtreecommitdiffstats
path: root/test/cache_common.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2017-09-30 14:50:58 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2017-09-30 14:50:58 (GMT)
commit744b6b282f087ce23310805dc24ce8f8b351fb61 (patch)
treeca497bd2a868409b61a849cd8945601497077640 /test/cache_common.c
parentfaf723e6d546a280e3fe935626f0de18f1757377 (diff)
downloadhdf5-744b6b282f087ce23310805dc24ce8f8b351fb61.zip
hdf5-744b6b282f087ce23310805dc24ce8f8b351fb61.tar.gz
hdf5-744b6b282f087ce23310805dc24ce8f8b351fb61.tar.bz2
Better segregate clean & dirty LRU lists so that they are only defined when
the H5C_MAINTAIN_CLEAN_AND_DIRTY_LRU_LISTS macro is defined.
Diffstat (limited to 'test/cache_common.c')
-rw-r--r--test/cache_common.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/cache_common.c b/test/cache_common.c
index 69bc26a..cadccec 100644
--- a/test/cache_common.c
+++ b/test/cache_common.c
@@ -2436,8 +2436,10 @@ reset_entries(void)
base_addr[j].header.ro_ref_count = FALSE;
base_addr[j].header.next = NULL;
base_addr[j].header.prev = NULL;
+#if H5C_MAINTAIN_CLEAN_AND_DIRTY_LRU_LISTS
base_addr[j].header.aux_next = NULL;
base_addr[j].header.aux_prev = NULL;
+#endif /* H5C_MAINTAIN_CLEAN_AND_DIRTY_LRU_LISTS */
base_addr[j].self = &(base_addr[j]);
base_addr[j].cache_ptr = NULL;