diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2016-12-29 10:40:26 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2016-12-29 10:40:26 (GMT) |
commit | da2f1610d1f2cba40770aee6d0d6fbc8196645ae (patch) | |
tree | 7089a182a8aaab3c614edb4a29a65514087b722c /src/H5Fint.c | |
parent | 6a8222b6a54da80737186d27c54078ac303c92a0 (diff) | |
download | hdf5-da2f1610d1f2cba40770aee6d0d6fbc8196645ae.zip hdf5-da2f1610d1f2cba40770aee6d0d6fbc8196645ae.tar.gz hdf5-da2f1610d1f2cba40770aee6d0d6fbc8196645ae.tar.bz2 |
More normalizations against incoming cache image branch.
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) |