summaryrefslogtreecommitdiffstats
path: root/src/H5Dint.c
diff options
context:
space:
mode:
authorNeil Fortner <nfortne2@hdfgroup.org>2015-05-05 20:15:40 (GMT)
committerNeil Fortner <nfortne2@hdfgroup.org>2015-05-05 20:15:40 (GMT)
commit8fe3dfbf9410ad5acabeaeb187bfb5f7b489042e (patch)
tree393d8485ce30da4ef690f7a1f7fc20a30347d9e4 /src/H5Dint.c
parent8ba06cb15e5bab3b49f210ff6d635d35fc4ed1ec (diff)
downloadhdf5-8fe3dfbf9410ad5acabeaeb187bfb5f7b489042e.zip
hdf5-8fe3dfbf9410ad5acabeaeb187bfb5f7b489042e.tar.gz
hdf5-8fe3dfbf9410ad5acabeaeb187bfb5f7b489042e.tar.bz2
[svn-r27022] Add new functions H5Pset_virtual_dataspace_bounds and
H5Pget_virtual_dataspace_bounds. Minor refactor of dataset initialization code to make this cleaner. Update h5_vds-percival-unlim-maxmin.c Other minor fixes/cleanup. Tested: ummon
Diffstat (limited to 'src/H5Dint.c')
-rw-r--r--src/H5Dint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Dint.c b/src/H5Dint.c
index 1757665..39b3eaf 100644
--- a/src/H5Dint.c
+++ b/src/H5Dint.c
@@ -1052,7 +1052,7 @@ H5D__create(H5F_t *file, hid_t type_id, const H5S_t *space, hid_t dcpl_id,
HGOTO_ERROR(H5E_DATASET, H5E_CANTINIT, NULL, "unable to initialize I/O operations")
/* Create the layout information for the new dataset */
- if((new_dset->shared->layout.ops->construct)(file, new_dset) < 0)
+ if(new_dset->shared->layout.ops->construct && (new_dset->shared->layout.ops->construct)(file, new_dset) < 0)
HGOTO_ERROR(H5E_DATASET, H5E_CANTINIT, NULL, "unable to construct layout information")
/* Update the dataset's object header info. */