diff options
author | Muqun Yang <myang6@hdfgroup.org> | 2021-10-18 23:20:56 (GMT) |
---|---|---|
committer | Muqun Yang <myang6@hdfgroup.org> | 2021-10-18 23:20:56 (GMT) |
commit | 25bcb8e953772b21e46426655fb6a6f0f7edc1f5 (patch) | |
tree | 9668ed61741c4749234bf7ea5eadb97ad5cd1399 /src/H5Fvfd_swmr.c | |
parent | 5d9248aab77f06f8b1943374ba4ba24a322ad31d (diff) | |
download | hdf5-25bcb8e953772b21e46426655fb6a6f0f7edc1f5.zip hdf5-25bcb8e953772b21e46426655fb6a6f0f7edc1f5.tar.gz hdf5-25bcb8e953772b21e46426655fb6a6f0f7edc1f5.tar.bz2 |
Revise the H5Fopen log test.
Diffstat (limited to 'src/H5Fvfd_swmr.c')
-rw-r--r-- | src/H5Fvfd_swmr.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/H5Fvfd_swmr.c b/src/H5Fvfd_swmr.c index c938014..77f5019 100644 --- a/src/H5Fvfd_swmr.c +++ b/src/H5Fvfd_swmr.c @@ -1923,6 +1923,8 @@ H5F_post_vfd_swrm_log_entry(H5F_t *f, int entry_type_code, char *body) FUNC_ENTER_NOAPI(FAIL) if (f==NULL) HGOTO_DONE(TRUE) + else if(f->shared==NULL) + HGOTO_DONE(TRUE) if (f->shared->vfd_swmr_log_on == false) HGOTO_DONE(TRUE) if (HDclock_gettime(CLOCK_MONOTONIC, ¤t_time) < 0) |