diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2010-05-15 20:10:19 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2010-05-15 20:10:19 (GMT) |
commit | c2ea0effd88ecbed05faf69621605d5429bea6e3 (patch) | |
tree | f01548df9b749724aae5d63c5d9f46f23f3f1d10 /testpar | |
parent | 7bc768c1a775610090463c0aa5b3dfd672166172 (diff) | |
download | hdf5-c2ea0effd88ecbed05faf69621605d5429bea6e3.zip hdf5-c2ea0effd88ecbed05faf69621605d5429bea6e3.tar.gz hdf5-c2ea0effd88ecbed05faf69621605d5429bea6e3.tar.bz2 |
[svn-r18822] Description:
Remove the size parameter from H5[A]C_unprotect() and the
H5[A]C__SIZE_CHANGED_FLAG, switching all clients & tests over to using
H5[A]C_resize_entry appropriately.
Tested on:
Mac OS X/32 10.6.3 (amazon) w/debug & prod
(h5committest not required on this branch)
Diffstat (limited to 'testpar')
-rw-r--r-- | testpar/t_cache.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testpar/t_cache.c b/testpar/t_cache.c index d7d6651..74ac06c 100644 --- a/testpar/t_cache.c +++ b/testpar/t_cache.c @@ -2762,7 +2762,7 @@ mark_entry_dirty(H5C_t * cache_ptr, entry_ptr = &(data[idx]); - HDassert ( entry_ptr->global_pinned ); + HDassert ( entry_ptr->locked || entry_ptr->global_pinned ); HDassert ( ! (entry_ptr->local_pinned) ); (entry_ptr->ver)++; @@ -2779,7 +2779,7 @@ mark_entry_dirty(H5C_t * cache_ptr, world_mpi_rank, fcn_name); } } - else + else if ( ! ( entry_ptr->locked ) ) { global_dirty_pins++; } |