summaryrefslogtreecommitdiffstats
path: root/src/H5VLiod_attr.c
diff options
context:
space:
mode:
authorMohamad Chaarawi <chaarawi@hdfgroup.org>2014-01-29 16:39:45 (GMT)
committerMohamad Chaarawi <chaarawi@hdfgroup.org>2014-01-29 16:39:45 (GMT)
commit27f42f93dbf61accb226f13e40561fdc250af8bb (patch)
tree41ace8cde1fc2698764f0df0fb720deb83b1281b /src/H5VLiod_attr.c
parent38e234db27022cd6fe53027be1c4b847524c5450 (diff)
downloadhdf5-27f42f93dbf61accb226f13e40561fdc250af8bb.zip
hdf5-27f42f93dbf61accb226f13e40561fdc250af8bb.tar.gz
hdf5-27f42f93dbf61accb226f13e40561fdc250af8bb.tar.bz2
[svn-r24660] - update scratch pad data integrity. Works with IOD now.
- add object creation property to enable/disable checksum per object * Still not used yet.
Diffstat (limited to 'src/H5VLiod_attr.c')
-rw-r--r--src/H5VLiod_attr.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/H5VLiod_attr.c b/src/H5VLiod_attr.c
index 602060d..d14b7c0 100644
--- a/src/H5VLiod_attr.c
+++ b/src/H5VLiod_attr.c
@@ -172,7 +172,7 @@ H5VL_iod_server_attr_create_cb(AXE_engine_t UNUSED axe_engine,
if(sp_cs && (cs_scope & H5_CHECKSUM_IOD)) {
/* verify scratch pad integrity */
- if(H5VL_iod_verify_scratch_pad(sp, sp_cs) < 0)
+ if(H5VL_iod_verify_scratch_pad(&sp, sp_cs) < 0)
HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, FAIL, "Scratch Pad failed integrity check");
}
@@ -313,7 +313,7 @@ H5VL_iod_server_attr_open_cb(AXE_engine_t UNUSED axe_engine,
if(sp_cs && (cs_scope & H5_CHECKSUM_IOD)) {
/* verify scratch pad integrity */
- if(H5VL_iod_verify_scratch_pad(sp, sp_cs) < 0)
+ if(H5VL_iod_verify_scratch_pad(&sp, sp_cs) < 0)
HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, FAIL, "Scratch Pad failed integrity check");
}
@@ -359,7 +359,7 @@ H5VL_iod_server_attr_open_cb(AXE_engine_t UNUSED axe_engine,
if(sp_cs && (cs_scope & H5_CHECKSUM_IOD)) {
/* verify scratch pad integrity */
- if(H5VL_iod_verify_scratch_pad(sp, sp_cs) < 0)
+ if(H5VL_iod_verify_scratch_pad(&sp, sp_cs) < 0)
HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, FAIL, "Scratch Pad failed integrity check");
}
@@ -833,7 +833,7 @@ H5VL_iod_server_attr_exists_cb(AXE_engine_t UNUSED axe_engine,
if(sp_cs && (cs_scope & H5_CHECKSUM_IOD)) {
/* verify scratch pad integrity */
- if(H5VL_iod_verify_scratch_pad(sp, sp_cs) < 0)
+ if(H5VL_iod_verify_scratch_pad(&sp, sp_cs) < 0)
HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, FAIL, "Scratch Pad failed integrity check");
}
@@ -944,7 +944,7 @@ H5VL_iod_server_attr_rename_cb(AXE_engine_t UNUSED axe_engine,
if(sp_cs && (cs_scope & H5_CHECKSUM_IOD)) {
/* verify scratch pad integrity */
- if(H5VL_iod_verify_scratch_pad(sp, sp_cs) < 0)
+ if(H5VL_iod_verify_scratch_pad(&sp, sp_cs) < 0)
HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, FAIL, "Scratch Pad failed integrity check");
}
@@ -1076,7 +1076,7 @@ H5VL_iod_server_attr_remove_cb(AXE_engine_t UNUSED axe_engine,
if(sp_cs && (cs_scope & H5_CHECKSUM_IOD)) {
/* verify scratch pad integrity */
- if(H5VL_iod_verify_scratch_pad(sp, sp_cs) < 0)
+ if(H5VL_iod_verify_scratch_pad(&sp, sp_cs) < 0)
HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, FAIL, "Scratch Pad failed integrity check");
}
@@ -1126,7 +1126,7 @@ H5VL_iod_server_attr_remove_cb(AXE_engine_t UNUSED axe_engine,
if(sp_cs && (cs_scope & H5_CHECKSUM_IOD)) {
/* verify scratch pad integrity */
- if(H5VL_iod_verify_scratch_pad(sp, sp_cs) < 0)
+ if(H5VL_iod_verify_scratch_pad(&sp, sp_cs) < 0)
HGOTO_ERROR2(H5E_SYM, H5E_CANTINIT, FAIL, "Scratch Pad failed integrity check");
}