summaryrefslogtreecommitdiffstats
path: root/src/H5SMcache.c
diff options
context:
space:
mode:
authorVailin Choi <vchoi@hdfgroup.org>2015-08-07 03:03:43 (GMT)
committerVailin Choi <vchoi@hdfgroup.org>2015-08-07 03:03:43 (GMT)
commit53b4670997cd563c5b26bcbddd0f479b4c8ce247 (patch)
treeb42f02b3fb0517db503300cc897e92455bbd4689 /src/H5SMcache.c
parent1c57b2f174e62dcfe58c0338651f35fced09087d (diff)
downloadhdf5-53b4670997cd563c5b26bcbddd0f479b4c8ce247.zip
hdf5-53b4670997cd563c5b26bcbddd0f479b4c8ce247.tar.gz
hdf5-53b4670997cd563c5b26bcbddd0f479b4c8ce247.tar.bz2
[svn-r27476] Fixes:
1. Fix for SWMR-88: move the 4 tests for file locking from tfile.c to swmr.c 2. H5SMcache.c: restore a line that got removed from previous merges. 3. H5Dproxy.c: delete; not needed 4. Refactor coding in H5C.c: H5C_make space_in_cache() and H5C_evict_tagged_entries() Tested on jam, koala, ostrich, platypus, moohan, quail.
Diffstat (limited to 'src/H5SMcache.c')
-rw-r--r--src/H5SMcache.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/H5SMcache.c b/src/H5SMcache.c
index d4052ef..0a8921a 100644
--- a/src/H5SMcache.c
+++ b/src/H5SMcache.c
@@ -214,7 +214,8 @@ H5SM_table_load(H5F_t *f, hid_t dxpl_id, haddr_t addr, void H5_ATTR_UNUSED *udat
/* Address of the index's heap */
H5F_addr_decode(f, &p, &(table->indexes[u].heap_addr));
- /* Compute the size of a list index for this SOHM index */
+ /* Compute the size of a list index for this SOHM index */
+ table->indexes[u].list_size = H5SM_LIST_SIZE(f, table->indexes[u].list_max);
} /* end for */
/* Already decoded and compared stored checksum earlier, when reading */