summaryrefslogtreecommitdiffstats
path: root/src/H5Doh.c
diff options
context:
space:
mode:
authorNeil Fortner <nfortne2@hdfgroup.org>2015-08-13 16:39:21 (GMT)
committerNeil Fortner <nfortne2@hdfgroup.org>2015-08-13 16:39:21 (GMT)
commit51e16157c29eae46c391e896ed54de8e02ffdfea (patch)
tree0341af144cc2fabc69cee4e039e6d13a58860d08 /src/H5Doh.c
parent07106823b4792cdb81bb8b6bf9b56af3e919781b (diff)
downloadhdf5-51e16157c29eae46c391e896ed54de8e02ffdfea.zip
hdf5-51e16157c29eae46c391e896ed54de8e02ffdfea.tar.gz
hdf5-51e16157c29eae46c391e896ed54de8e02ffdfea.tar.bz2
[svn-r27504] Change comments/code around to reflect decision to have virtual datasets always
return TRUE when their is_alloc function is called. Tested: ummon
Diffstat (limited to 'src/H5Doh.c')
-rw-r--r--src/H5Doh.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/H5Doh.c b/src/H5Doh.c
index 39a270f..388f4cf 100644
--- a/src/H5Doh.c
+++ b/src/H5Doh.c
@@ -398,7 +398,8 @@ H5O__dset_bh_info(H5F_t *f, hid_t dxpl_id, H5O_t *oh, H5_ih_info_t *bh_info)
if(H5D__chunk_bh_info(f, dxpl_id, &layout, &pline, &(bh_info->index_size)) < 0)
HGOTO_ERROR(H5E_OHDR, H5E_CANTGET, FAIL, "can't determine chunked dataset btree info")
} /* end if */
- else if(layout.type == H5D_VIRTUAL && H5D__virtual_is_space_alloc(&layout.storage)) {
+ else if(layout.type == H5D_VIRTUAL
+ && (layout.storage.u.virt.serial_list_hobjid.addr != HADDR_UNDEF)) {
size_t virtual_heap_size;
/* Need to write a test for this. No assert here for now because the
* code is reached by h5_verify_cached_stabs() but it is not properly