diff options
author | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2014-09-16 21:42:26 (GMT) |
---|---|---|
committer | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2014-09-16 21:42:26 (GMT) |
commit | 924440b4f9437f57a0df1f6c0afd794978b31715 (patch) | |
tree | c0df451007a1e7b5e05c965d824ce9493258168e /src/H5FDdirect.c | |
parent | 39e961705973fdea6c57f27d4fc57b9b51730323 (diff) | |
download | hdf5-924440b4f9437f57a0df1f6c0afd794978b31715.zip hdf5-924440b4f9437f57a0df1f6c0afd794978b31715.tar.gz hdf5-924440b4f9437f57a0df1f6c0afd794978b31715.tar.bz2 |
[svn-r25594] - add mem_type in get_eof for multi vfd like drivers.
- update v2 sb format to store an eof for every mem type (to handle multi like vfds).
- still needs more testing.
Diffstat (limited to 'src/H5FDdirect.c')
-rw-r--r-- | src/H5FDdirect.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5FDdirect.c b/src/H5FDdirect.c index b3d5338..66d9a0b 100644 --- a/src/H5FDdirect.c +++ b/src/H5FDdirect.c @@ -137,7 +137,7 @@ static int H5FD_direct_cmp(const H5FD_t *_f1, const H5FD_t *_f2); static herr_t H5FD_direct_query(const H5FD_t *_f1, unsigned long *flags); static haddr_t H5FD_direct_get_eoa(const H5FD_t *_file, H5FD_mem_t type); static herr_t H5FD_direct_set_eoa(H5FD_t *_file, H5FD_mem_t type, haddr_t addr); -static haddr_t H5FD_direct_get_eof(const H5FD_t *_file); +static haddr_t H5FD_direct_get_eof(const H5FD_t *_file, H5FD_mem_t type); static herr_t H5FD_direct_get_handle(H5FD_t *_file, hid_t fapl, void** file_handle); static herr_t H5FD_direct_read(H5FD_t *_file, H5FD_mem_t type, hid_t fapl_id, haddr_t addr, size_t size, void *buf); @@ -811,7 +811,7 @@ H5FD_direct_set_eoa(H5FD_t *_file, H5FD_mem_t UNUSED type, haddr_t addr) *------------------------------------------------------------------------- */ static haddr_t -H5FD_direct_get_eof(const H5FD_t *_file) +H5FD_direct_get_eof(const H5FD_t *_file, H5FD_mem_t UNUSED type) { const H5FD_direct_t *file = (const H5FD_direct_t*)_file; |