summaryrefslogtreecommitdiffstats
path: root/src/H5Fint.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@koziol.gov>2019-08-19 22:47:28 (GMT)
committerQuincey Koziol <koziol@koziol.gov>2019-08-19 22:47:28 (GMT)
commit85a56a9c4f9629bb92b4b16a1dada30ae30b5b21 (patch)
treeaf6a389ea4450e69baa04bd7d7b1d28262074c56 /src/H5Fint.c
parentdcf084aff42d3abafaa82b356493a2d1585afb85 (diff)
downloadhdf5-85a56a9c4f9629bb92b4b16a1dada30ae30b5b21.zip
hdf5-85a56a9c4f9629bb92b4b16a1dada30ae30b5b21.tar.gz
hdf5-85a56a9c4f9629bb92b4b16a1dada30ae30b5b21.tar.bz2
Partial H5F__accum_* routines.
Diffstat (limited to 'src/H5Fint.c')
-rw-r--r--src/H5Fint.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5Fint.c b/src/H5Fint.c
index 29f017e..afedeb9 100644
--- a/src/H5Fint.c
+++ b/src/H5Fint.c
@@ -1346,7 +1346,7 @@ H5F__dest(H5F_t *f, hbool_t flush)
} /* end if */
/* Destroy other components of the file */
- if(H5F__accum_reset(f, TRUE) < 0)
+ if(H5F__accum_reset(f->shared, TRUE) < 0)
/* Push error, but keep going*/
HDONE_ERROR(H5E_FILE, H5E_CANTRELEASE, FAIL, "problems closing file")
if(H5FO_dest(f) < 0)
@@ -1905,7 +1905,7 @@ H5F__flush_phase2(H5F_t *f, hbool_t closing)
#endif /* H5_HAVE_PARALLEL */
/* Flush out the metadata accumulator */
- if(H5F__accum_flush(f) < 0)
+ if(H5F__accum_flush(f->shared) < 0)
/* Push error, but keep going*/
HDONE_ERROR(H5E_IO, H5E_CANTFLUSH, FAIL, "unable to flush metadata accumulator")
@@ -3416,7 +3416,7 @@ H5F__start_swmr_write(H5F_t *f)
} /* end if */
/* Flush and reset the accumulator */
- if(H5F__accum_reset(f, TRUE) < 0)
+ if(H5F__accum_reset(f->shared, TRUE) < 0)
HGOTO_ERROR(H5E_IO, H5E_CANTRESET, FAIL, "can't reset accumulator")
/* Turn on SWMR write in shared file open flags */