diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2007-05-10 15:26:41 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2007-05-10 15:26:41 (GMT) |
commit | d214eddeff1a929989a532802a4b417fd80a6237 (patch) | |
tree | 18e76fc77366b42f0e5fce304499b24d6170117e /src/H5D.c | |
parent | 8eac66e943781dab6c3253c9c775a9707f8240a1 (diff) | |
download | hdf5-d214eddeff1a929989a532802a4b417fd80a6237.zip hdf5-d214eddeff1a929989a532802a4b417fd80a6237.tar.gz hdf5-d214eddeff1a929989a532802a4b417fd80a6237.tar.bz2 |
[svn-r13743] Description:
Don't delete chunks from the dataset's B-tree while we are iterating over
the B-tree, when reducing the size of the dataset's dataspace with
H5Dset_extent().
Tested on:
Mac OS X/32 2.6 (amazon)
Linux/32 2.6 (chicago)
Linux/64 2.6 (chicago2)
Diffstat (limited to 'src/H5D.c')
-rw-r--r-- | src/H5D.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3192,7 +3192,7 @@ H5D_set_extent(H5D_t *dset, const hsize_t *size, hid_t dxpl_id) H5D_BUILD_IO_INFO(&io_info, dset, dxpl_cache, dxpl_id, NULL); /* Remove excess chunks */ - if(H5D_istore_prune_by_extent(&io_info) < 0) + if(H5D_istore_prune_by_extent(&io_info, curr_dims) < 0) HGOTO_ERROR(H5E_DATASET, H5E_WRITEERROR, FAIL, "unable to remove chunks ") /* Reset the elements outsize the new dimensions, but in existing chunks */ |