summaryrefslogtreecommitdiffstats
path: root/src/H5EAcache.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2009-03-31 19:24:31 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2009-03-31 19:24:31 (GMT)
commit448e1b78ee37cc01f5f08e2e9c9528c7687c5318 (patch)
tree05f32e991c350565cff8c430c1ad4e243c3dad67 /src/H5EAcache.c
parent0d1d64ad87c42dd3c283c0598295260826e3d819 (diff)
downloadhdf5-448e1b78ee37cc01f5f08e2e9c9528c7687c5318.zip
hdf5-448e1b78ee37cc01f5f08e2e9c9528c7687c5318.tar.gz
hdf5-448e1b78ee37cc01f5f08e2e9c9528c7687c5318.tar.bz2
[svn-r16636] Description:
Pass some user data down into the extensible array client context creation callback. Tested on: FreeBSD/32 6.3 (duty) Too minor to require h5committest
Diffstat (limited to 'src/H5EAcache.c')
-rw-r--r--src/H5EAcache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5EAcache.c b/src/H5EAcache.c
index 8947960..00d3089 100644
--- a/src/H5EAcache.c
+++ b/src/H5EAcache.c
@@ -199,7 +199,7 @@ const H5AC_class_t H5AC_EARRAY_DBLK_PAGE[1] = {{
BEGIN_FUNC(STATIC, ERR,
H5EA_hdr_t *, NULL, NULL,
H5EA__cache_hdr_load(H5F_t *f, hid_t dxpl_id, haddr_t addr, const void *_cls,
- void UNUSED *udata2))
+ void *ctx_udata))
/* Local variables */
const H5EA_class_t *cls = (const H5EA_class_t *)_cls; /* Extensible array class */
@@ -217,7 +217,7 @@ H5EA__cache_hdr_load(H5F_t *f, hid_t dxpl_id, haddr_t addr, const void *_cls,
HDassert(H5F_addr_defined(addr));
/* Allocate space for the extensible array data structure */
- if(NULL == (hdr = H5EA__hdr_alloc(f, cls)))
+ if(NULL == (hdr = H5EA__hdr_alloc(f, cls, ctx_udata)))
H5E_THROW(H5E_CANTALLOC, "memory allocation failed for extensible array shared header")
/* Set the extensible array header's address */