diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2010-10-19 17:04:37 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2010-10-19 17:04:37 (GMT) |
commit | 28a43b20583f1bd1d8a1f987d61b2e8a9d0795f8 (patch) | |
tree | 9794ee7738383922675ae16433f9c0ddf111c6ee /src/H5Dbtree.c | |
parent | 0c6929dfdefec1c5e6cdaae92b314b8a74492a47 (diff) | |
download | hdf5-28a43b20583f1bd1d8a1f987d61b2e8a9d0795f8.zip hdf5-28a43b20583f1bd1d8a1f987d61b2e8a9d0795f8.tar.gz hdf5-28a43b20583f1bd1d8a1f987d61b2e8a9d0795f8.tar.bz2 |
[svn-r19639] Description:
Bring r19638 from trunk to 1.8 branch:
Bring some of Neil's changes to help support SWMR access in the v1
B-tree code from the revise_chunks branch back to the trunk.
Tested on:
FreeBSD/32 6.3 (duty) in debug mode
(h5committested on trunk)
Diffstat (limited to 'src/H5Dbtree.c')
-rw-r--r-- | src/H5Dbtree.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/H5Dbtree.c b/src/H5Dbtree.c index 374c1b6..581e99c 100644 --- a/src/H5Dbtree.c +++ b/src/H5Dbtree.c @@ -822,7 +822,7 @@ done: */ static herr_t H5D_btree_idx_init(const H5D_chk_idx_info_t *idx_info, const H5S_t UNUSED *space, - haddr_t UNUSED dset_ohdr_addr) + haddr_t dset_ohdr_addr) { herr_t ret_value = SUCCEED; /* Return value */ @@ -836,6 +836,8 @@ H5D_btree_idx_init(const H5D_chk_idx_info_t *idx_info, const H5S_t UNUSED *space HDassert(idx_info->storage); HDassert(H5F_addr_defined(dset_ohdr_addr)); + idx_info->storage->u.btree.dset_ohdr_addr = dset_ohdr_addr; + /* Allocate the shared structure */ if(H5D_btree_shared_create(idx_info->f, idx_info->storage, idx_info->layout->ndims) < 0) HGOTO_ERROR(H5E_RESOURCE, H5E_CANTINIT, FAIL, "can't create wrapper for shared B-tree info") |