summaryrefslogtreecommitdiffstats
path: root/src/H5Oshared.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2007-01-29 18:19:05 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2007-01-29 18:19:05 (GMT)
commit108114495fccaafcf77904f43e9c4cb90c4396f8 (patch)
treed7f57e606afd74369845ada2ddfa63d7343d92f8 /src/H5Oshared.h
parent55d4ec6ebf2f9f8037b33a39bc62bf93232771d8 (diff)
downloadhdf5-108114495fccaafcf77904f43e9c4cb90c4396f8.zip
hdf5-108114495fccaafcf77904f43e9c4cb90c4396f8.tar.gz
hdf5-108114495fccaafcf77904f43e9c4cb90c4396f8.tar.bz2
[svn-r13217] Description:
Move fill value messages into new shared message method calling scheme. Only update an opened dataset's fill value property if it's different from the default fill value settings. Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
Diffstat (limited to 'src/H5Oshared.h')
-rw-r--r--src/H5Oshared.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Oshared.h b/src/H5Oshared.h
index f7f84eb..70049c7 100644
--- a/src/H5Oshared.h
+++ b/src/H5Oshared.h
@@ -220,7 +220,7 @@ H5O_SHARED_DELETE(H5F_t *f, hid_t dxpl_id, const void *_mesg, hbool_t adj_link)
/* Check for shared message */
if(H5O_IS_SHARED(sh_mesg->flags)) {
/* Decrement the reference count on the shared message/object */
- if(H5O_shared_delete_new(f, dxpl_id, sh_mesg, adj_link) < 0)
+ if(H5O_shared_delete_new(f, dxpl_id, sh_mesg, H5O_SHARED_TYPE, adj_link) < 0)
HGOTO_ERROR(H5E_OHDR, H5E_CANTDEC, FAIL, "unable to decrement ref count for shared message")
} /* end if */
#ifdef H5O_SHARED_DELETE_REAL
@@ -272,7 +272,7 @@ H5O_SHARED_LINK(H5F_t *f, hid_t dxpl_id, const void *_mesg)
/* Check for shared message */
if(H5O_IS_SHARED(sh_mesg->flags)) {
/* Increment the reference count on the shared message/object */
- if(H5O_shared_link_new(f, dxpl_id, sh_mesg) < 0)
+ if(H5O_shared_link_new(f, dxpl_id, sh_mesg, H5O_SHARED_TYPE) < 0)
HGOTO_ERROR(H5E_OHDR, H5E_CANTINC, FAIL, "unable to increment ref count for shared message")
} /* end if */
#ifdef H5O_SHARED_LINK_REAL