summaryrefslogtreecommitdiffstats
path: root/src/H5C.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2017-02-28 05:45:55 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2017-02-28 05:45:55 (GMT)
commit5db402afbb6be6a4219ccd517d0462c5c6cc26f7 (patch)
tree9315120be0d040146e0dcec8ced3a25672666c88 /src/H5C.c
parente5fb4191de1129f58cc7b9b8ee67f4cec1488f39 (diff)
downloadhdf5-5db402afbb6be6a4219ccd517d0462c5c6cc26f7.zip
hdf5-5db402afbb6be6a4219ccd517d0462c5c6cc26f7.tar.gz
hdf5-5db402afbb6be6a4219ccd517d0462c5c6cc26f7.tar.bz2
Corrected version of 4b5e05c084f93c35dae946c2c9e814d565a613b0:
Fix some more signed -> unsigned value issues with cache data structures, also misc. style cleanups. All to align w/incoming page_buffering changes.
Diffstat (limited to 'src/H5C.c')
-rw-r--r--src/H5C.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/H5C.c b/src/H5C.c
index 4601d35..fe97f05 100644
--- a/src/H5C.c
+++ b/src/H5C.c
@@ -1470,6 +1470,11 @@ H5C_insert_entry(H5F_t * f,
entry_ptr->aux_next = NULL;
entry_ptr->aux_prev = NULL;
+#ifdef H5_HAVE_PARALLEL
+ entry_ptr->coll_next = NULL;
+ entry_ptr->coll_prev = NULL;
+#endif /* H5_HAVE_PARALLEL */
+
/* initialize cache image related fields */
entry_ptr->include_in_image = FALSE;
entry_ptr->lru_rank = 0;
@@ -1486,11 +1491,6 @@ H5C_insert_entry(H5F_t * f,
entry_ptr->serialization_count = 0;
#endif /* NDEBUG */
-#ifdef H5_HAVE_PARALLEL
- entry_ptr->coll_next = NULL;
- entry_ptr->coll_prev = NULL;
-#endif /* H5_HAVE_PARALLEL */
-
/* Apply tag to newly inserted entry */
if(H5C__tag_entry(cache_ptr, entry_ptr, dxpl_id) < 0)
HGOTO_ERROR(H5E_CACHE, H5E_CANTTAG, FAIL, "Cannot tag metadata entry")