summaryrefslogtreecommitdiffstats
path: root/src/H5Ddeprec.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2011-02-22 00:08:13 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2011-02-22 00:08:13 (GMT)
commit9b9e0fe850c5fc22531ec5e5cfa737afe278b809 (patch)
treeff966d2af58b562514f3d225eb97ee015c3c17eb /src/H5Ddeprec.c
parent6ac5999fe7a73d374cccf0c2acac9c86d35e35fc (diff)
downloadhdf5-9b9e0fe850c5fc22531ec5e5cfa737afe278b809.zip
hdf5-9b9e0fe850c5fc22531ec5e5cfa737afe278b809.tar.gz
hdf5-9b9e0fe850c5fc22531ec5e5cfa737afe278b809.tar.bz2
[svn-r20136] Description:
Bring r20135 from trunk to 1.8 branch: Bring r20134 from metadata journaling merging branch to trunk: Bring changes from metadata journaling branch to "merging" branch: Unify routine to mark a dataset's metadata as changed. Tested on: FreeBSD/32 6.3 (duty) in debug mode (h5committested on trunk)
Diffstat (limited to 'src/H5Ddeprec.c')
-rw-r--r--src/H5Ddeprec.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/H5Ddeprec.c b/src/H5Ddeprec.c
index b06bce1..b31f23b 100644
--- a/src/H5Ddeprec.c
+++ b/src/H5Ddeprec.c
@@ -366,7 +366,8 @@ H5D_extend(H5D_t *dataset, const hsize_t *size, hid_t dxpl_id)
HGOTO_ERROR(H5E_DATASET, H5E_CANTINIT, FAIL, "unable to initialize dataset with fill value")
/* Mark the dataspace as dirty, for later writing to the file */
- dataset->shared->space_dirty = TRUE;
+ if(H5D_mark(dataset, dxpl_id, H5D_MARK_SPACE) < 0)
+ HGOTO_ERROR(H5E_DATASET, H5E_CANTSET, FAIL, "unable to mark dataspace as dirty")
} /* end if */
done: