summaryrefslogtreecommitdiffstats
path: root/src/H5FSsection.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@koziol.gov>2019-08-26 19:38:58 (GMT)
committerQuincey Koziol <koziol@koziol.gov>2019-08-26 19:38:58 (GMT)
commit3090ac81506094ee510ae89c31749b5c1632aa34 (patch)
tree10ee129920e9a97629082664c01729815aeb38ee /src/H5FSsection.c
parent884ad149e29f7c99487af676f0bbcd88cbf2735f (diff)
downloadhdf5-3090ac81506094ee510ae89c31749b5c1632aa34.zip
hdf5-3090ac81506094ee510ae89c31749b5c1632aa34.tar.gz
hdf5-3090ac81506094ee510ae89c31749b5c1632aa34.tar.bz2
Add a 'closing' flag on the shared file struct, and switch several of the
"internal" data structures to use it.
Diffstat (limited to 'src/H5FSsection.c')
-rw-r--r--src/H5FSsection.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5FSsection.c b/src/H5FSsection.c
index 9f86aea..df67bd9 100644
--- a/src/H5FSsection.c
+++ b/src/H5FSsection.c
@@ -390,7 +390,7 @@ HDfprintf(stderr, "%s: fspace->alloc_sect_size = %Hu, fspace->sect_size = %Hu\n"
cache_flags |= H5AC__DIRTIED_FLAG;
/* On file close or flushing, does not allow section info to shrink in size */
- if(f->closing || flush_in_progress) {
+ if(f->shared->closing || flush_in_progress) {
if(fspace->sect_size > fspace->alloc_sect_size)
cache_flags |= H5AC__DELETED_FLAG | H5AC__TAKE_OWNERSHIP_FLAG;
else
@@ -441,7 +441,7 @@ HDfprintf(stderr, "%s: Relinquishing section info ownership\n", FUNC);
/* Set flag to release section info space in file */
/* On file close or flushing, only need to release section info with size
bigger than previous section */
- if(f->closing || flush_in_progress) {
+ if(f->shared->closing || flush_in_progress) {
if(fspace->sect_size > fspace->alloc_sect_size)
release_sinfo_space = TRUE;
else