summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorjhendersonHDF <jhenderson@hdfgroup.org>2023-08-18 20:59:25 (GMT)
committerGitHub <noreply@github.com>2023-08-18 20:59:25 (GMT)
commit98b8fa7469345ec024acd9c4ee192fd60015b9e3 (patch)
tree303554ab76cede81966b4d70f4d55eccb4885239 /src
parent7025c5f10918638254bec883abacbebf148d79cf (diff)
downloadhdf5-98b8fa7469345ec024acd9c4ee192fd60015b9e3.zip
hdf5-98b8fa7469345ec024acd9c4ee192fd60015b9e3.tar.gz
hdf5-98b8fa7469345ec024acd9c4ee192fd60015b9e3.tar.bz2
Fix assertion failure during file close on error (#3387)
Diffstat (limited to 'src')
-rw-r--r--src/H5C.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5C.c b/src/H5C.c
index 545154c..24dd800 100644
--- a/src/H5C.c
+++ b/src/H5C.c
@@ -416,7 +416,7 @@ H5C_prep_for_file_close(H5F_t *f)
#ifdef H5_HAVE_PARALLEL
if ((H5F_INTENT(f) & H5F_ACC_RDWR) && !image_generated && cache_ptr->aux_ptr != NULL &&
- f->shared->fs_persist) {
+ f->shared->sblock && f->shared->fs_persist) {
/* If persistent free space managers are enabled, flushing the
* metadata cache may result in the deletion, insertion, and/or
* dirtying of entries.