mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-02-05 15:42:32 +08:00
Change 'extensible' to 'fixed' in H5FA code (#3964)
This commit is contained in:
parent
853a7c6c9c
commit
70ce646c22
@ -505,7 +505,7 @@ H5FA__cache_hdr_free_icr(void *thing)
|
||||
/* Check arguments */
|
||||
assert(thing);
|
||||
|
||||
/* Release the extensible array header */
|
||||
/* Release the fixed array header */
|
||||
if (H5FA__hdr_dest((H5FA_hdr_t *)thing) < 0)
|
||||
HGOTO_ERROR(H5E_FARRAY, H5E_CANTFREE, FAIL, "can't free fixed array header");
|
||||
|
||||
|
@ -202,7 +202,7 @@ H5FA__hdr_create(H5F_t *f, const H5FA_create_t *cparam, void *ctx_udata)
|
||||
if (HADDR_UNDEF == (hdr->addr = H5MF_alloc(f, H5FD_MEM_FARRAY_HDR, (hsize_t)hdr->size)))
|
||||
HGOTO_ERROR(H5E_FARRAY, H5E_CANTALLOC, HADDR_UNDEF, "file allocation failed for Fixed Array header");
|
||||
|
||||
/* Create 'top' proxy for extensible array entries */
|
||||
/* Create 'top' proxy for fixed array entries */
|
||||
if (hdr->swmr_write)
|
||||
if (NULL == (hdr->top_proxy = H5AC_proxy_entry_create()))
|
||||
HGOTO_ERROR(H5E_FARRAY, H5E_CANTCREATE, HADDR_UNDEF, "can't create fixed array entry proxy");
|
||||
|
Loading…
Reference in New Issue
Block a user