summaryrefslogtreecommitdiffstats
path: root/src/H5Fio.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/H5Fio.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/H5Fio.c')
-rw-r--r--src/H5Fio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Fio.c b/src/H5Fio.c
index 63b033f..a4a6e01 100644
--- a/src/H5Fio.c
+++ b/src/H5Fio.c
@@ -113,7 +113,7 @@ H5F_block_read(H5F_t *f, H5FD_mem_t type, haddr_t addr, size_t size, void *buf/*
map_type = (type == H5FD_MEM_GHEAP) ? H5FD_MEM_DRAW : type;
/* Pass through page buffer layer */
- if(H5PB_read(f, map_type, addr, size, buf) < 0)
+ if(H5PB_read(f->shared, map_type, addr, size, buf) < 0)
HGOTO_ERROR(H5E_IO, H5E_READERROR, FAIL, "read through page buffer failed")
done:
@@ -170,7 +170,7 @@ done:
/*-------------------------------------------------------------------------
* Function: H5F_flush_tagged_metadata
*
- * Purpose: Flushes metadata with specified tag in the metadata cache
+ * Purpose: Flushes metadata with specified tag in the metadata cache
* to disk.
*
* Return: Non-negative on success/Negative on failure