diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2017-09-30 14:50:58 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2017-09-30 14:50:58 (GMT) |
commit | 744b6b282f087ce23310805dc24ce8f8b351fb61 (patch) | |
tree | ca497bd2a868409b61a849cd8945601497077640 /src/H5Cimage.c | |
parent | faf723e6d546a280e3fe935626f0de18f1757377 (diff) | |
download | hdf5-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 'src/H5Cimage.c')
-rw-r--r-- | src/H5Cimage.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/H5Cimage.c b/src/H5Cimage.c index debd30c..53d1712 100644 --- a/src/H5Cimage.c +++ b/src/H5Cimage.c @@ -649,8 +649,10 @@ H5C__deserialize_prefetched_entry(H5F_t *f, hid_t dxpl_id, H5C_t *cache_ptr, /* Initialize fields supporting replacement policies: */ ds_entry_ptr->next = NULL; ds_entry_ptr->prev = NULL; +#if H5C_MAINTAIN_CLEAN_AND_DIRTY_LRU_LISTS ds_entry_ptr->aux_next = NULL; ds_entry_ptr->aux_prev = NULL; +#endif /* H5C_MAINTAIN_CLEAN_AND_DIRTY_LRU_LISTS */ #ifdef H5_HAVE_PARALLEL pf_entry_ptr->coll_next = NULL; pf_entry_ptr->coll_prev = NULL; |