diff options
Diffstat (limited to 'src/H5Fint.c')
-rw-r--r-- | src/H5Fint.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/H5Fint.c b/src/H5Fint.c index fd79dc2..f1e9fb5 100644 --- a/src/H5Fint.c +++ b/src/H5Fint.c @@ -858,9 +858,10 @@ H5F_dest(H5F_t *f, hid_t dxpl_id, hbool_t flush) /* Clear status_flags */ f->shared->sblock->status_flags &= (uint8_t)(~H5F_SUPER_WRITE_ACCESS); f->shared->sblock->status_flags &= (uint8_t)(~H5F_SUPER_SWMR_WRITE_ACCESS); + /* Mark superblock dirty in cache, so change will get encoded */ - /* Push error, but keep going*/ if(H5F_super_dirty(f) < 0) + /* Push error, but keep going*/ HDONE_ERROR(H5E_FILE, H5E_CANTMARKDIRTY, FAIL, "unable to mark superblock as dirty") if(H5F_flush(f, dxpl_id, TRUE) < 0) |