summaryrefslogtreecommitdiffstats
path: root/src/H5Fint.c
diff options
context:
space:
mode:
authorVailin Choi <vchoi@jam.ad.hdfgroup.org>2018-01-22 23:40:44 (GMT)
committerVailin Choi <vchoi@jam.ad.hdfgroup.org>2018-01-22 23:40:44 (GMT)
commit8427eefafe7af83dbc133975c3ac2368cf1b08d6 (patch)
tree8454c8fefd1cc72fcb7759a5bf59a82e5c62e84c /src/H5Fint.c
parentf122d6f27f85245f2f559c85064eabf91a631b27 (diff)
downloadhdf5-8427eefafe7af83dbc133975c3ac2368cf1b08d6.zip
hdf5-8427eefafe7af83dbc133975c3ac2368cf1b08d6.tar.gz
hdf5-8427eefafe7af83dbc133975c3ac2368cf1b08d6.tar.bz2
Fix bounds check for the generation of cache image.
Diffstat (limited to 'src/H5Fint.c')
-rw-r--r--src/H5Fint.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/H5Fint.c b/src/H5Fint.c
index 9d79481..86627ea 100644
--- a/src/H5Fint.c
+++ b/src/H5Fint.c
@@ -930,10 +930,6 @@ H5F_new(H5F_file_t *shared, unsigned flags, hid_t fcpl_id, hid_t fapl_id, H5FD_t
if(H5P_get(plist, H5F_ACS_META_CACHE_INIT_IMAGE_CONFIG_NAME, &(f->shared->mdc_initCacheImageCfg)) < 0)
HGOTO_ERROR(H5E_PLIST, H5E_CANTGET, NULL, "can't get initial metadata cache resize config")
- /* Format version high bound does not allow the generation of metadata cache image */
- if(f->shared->mdc_initCacheImageCfg.generate_image && f->shared->high_bound < H5F_LIBVER_V110)
- HGOTO_ERROR(H5E_PLIST, H5E_BADVALUE, NULL, "format version out of bound for cache image")
-
/* Get the VFD values to cache */
f->shared->maxaddr = H5FD_get_maxaddr(lf);
if(!H5F_addr_defined(f->shared->maxaddr))