summaryrefslogtreecommitdiffstats
path: root/src/H5MFsection.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@koziol.gov>2019-08-20 22:26:10 (GMT)
committerQuincey Koziol <koziol@koziol.gov>2019-08-20 22:26:10 (GMT)
commit25f982abbd5f0dddf0315f994171cd9c9f037cb9 (patch)
treeab894c2a71df56a1bd7e776cb15ef87831f9aa84 /src/H5MFsection.c
parentf285c76ef25366e889d25ac8c223c91c080cf3b7 (diff)
downloadhdf5-25f982abbd5f0dddf0315f994171cd9c9f037cb9.zip
hdf5-25f982abbd5f0dddf0315f994171cd9c9f037cb9.tar.gz
hdf5-25f982abbd5f0dddf0315f994171cd9c9f037cb9.tar.bz2
Finish converting H5PB_* routines to use shared file pointer, instead of top
file pointer.
Diffstat (limited to 'src/H5MFsection.c')
-rw-r--r--src/H5MFsection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5MFsection.c b/src/H5MFsection.c
index 3ebc5c8..f661ef9 100644
--- a/src/H5MFsection.c
+++ b/src/H5MFsection.c
@@ -776,7 +776,7 @@ H5MF__sect_small_merge(H5FS_section_info_t **_sect1, H5FS_section_info_t *_sect2
/* Note: Large metadata page bypasses the PB cache */
/* Note: Update of raw data page (large or small sized) is handled by the PB cache */
if(udata->f->shared->page_buf != NULL && udata->alloc_type != H5FD_MEM_DRAW)
- if(H5PB_remove_entry(udata->f, (*sect1)->sect_info.addr) < 0)
+ if(H5PB_remove_entry(udata->f->shared, (*sect1)->sect_info.addr) < 0)
HGOTO_ERROR(H5E_RESOURCE, H5E_CANTFREE, FAIL, "can't free merged section")
if(H5MF__sect_free((H5FS_section_info_t *)(*sect1)) < 0)