summaryrefslogtreecommitdiffstats
path: root/test/cache_common.c
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2017-10-02 16:55:13 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2017-10-02 16:55:13 (GMT)
commit19ee2f9dc8ce4352b3ec82c667abecb47a1d9684 (patch)
treed1278c510360f4a807a255d6f9c16d6cda79867e /test/cache_common.c
parent38e2f0e7847556ba06ee72e9451a1bab022c472e (diff)
parent9d6ba29a01079e0f81ffa530605d8cd830378f9c (diff)
downloadhdf5-19ee2f9dc8ce4352b3ec82c667abecb47a1d9684.zip
hdf5-19ee2f9dc8ce4352b3ec82c667abecb47a1d9684.tar.gz
hdf5-19ee2f9dc8ce4352b3ec82c667abecb47a1d9684.tar.bz2
Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
* commit '9d6ba29a01079e0f81ffa530605d8cd830378f9c': 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;