summaryrefslogtreecommitdiffstats
path: root/src/H5Cjournal.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Cjournal.c')
-rw-r--r--src/H5Cjournal.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/H5Cjournal.c b/src/H5Cjournal.c
index c3157d3..3f8a110 100644
--- a/src/H5Cjournal.c
+++ b/src/H5Cjournal.c
@@ -1042,10 +1042,17 @@ H5C_journal_transaction(H5F_t * f,
"H5C_protect() failed.")
}
+ result = H5C_resize_entry(thing, new_len);
+
+ if ( result < 0 ) {
+
+ HGOTO_ERROR(H5E_CACHE, H5E_CANTJOURNAL, FAIL, \
+ "H5C_resize_entry() failed.")
+ }
+
result = H5C_unprotect(f, dxpl_id,
entry_ptr->type, entry_ptr->addr,
- thing, H5C__SIZE_CHANGED_FLAG,
- new_len);
+ thing, H5C__NO_FLAGS_SET);
if ( result < 0 ) {