summaryrefslogtreecommitdiffstats
path: root/src/H5SMtest.c
diff options
context:
space:
mode:
authorVailin Choi <vchoi@hdfgroup.org>2015-09-06 19:55:20 (GMT)
committerVailin Choi <vchoi@hdfgroup.org>2015-09-06 19:55:20 (GMT)
commitb6f4eee12f80f32833b8b1b4891a821578626941 (patch)
tree4e69790f1468a3fb680af8faf1f9564094e94304 /src/H5SMtest.c
parentc102869b66899956c1658b3d99955f23402c1276 (diff)
downloadhdf5-b6f4eee12f80f32833b8b1b4891a821578626941.zip
hdf5-b6f4eee12f80f32833b8b1b4891a821578626941.tar.gz
hdf5-b6f4eee12f80f32833b8b1b4891a821578626941.tar.bz2
[svn-r27688] Bring version 3 metadata cache from trunk + adding retries.
Tested on jam, kite, platypus, quail, moohan, ostrich, osx1010test, emu.
Diffstat (limited to 'src/H5SMtest.c')
-rw-r--r--src/H5SMtest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5SMtest.c b/src/H5SMtest.c
index 12ed766..c4e02bc 100644
--- a/src/H5SMtest.c
+++ b/src/H5SMtest.c
@@ -98,7 +98,7 @@ H5SM_get_mesg_count_test(H5F_t *f, hid_t dxpl_id, unsigned type_id,
cache_udata.f = f;
/* Look up the master SOHM table */
- if(NULL == (table = (H5SM_master_table_t *)H5AC_protect(f, dxpl_id, H5AC_SOHM_TABLE, H5F_SOHM_ADDR(f), &cache_udata, H5AC_READ)))
+ if(NULL == (table = (H5SM_master_table_t *)H5AC_protect(f, dxpl_id, H5AC_SOHM_TABLE, H5F_SOHM_ADDR(f), &cache_udata, H5AC__READ_ONLY_FLAG)))
HGOTO_ERROR(H5E_SOHM, H5E_CANTPROTECT, FAIL, "unable to load SOHM master table")
/* Find the correct index for this message type */