summaryrefslogtreecommitdiffstats
path: root/testpar/t_cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'testpar/t_cache.c')
-rw-r--r--testpar/t_cache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testpar/t_cache.c b/testpar/t_cache.c
index d53a227..b69b7c9 100644
--- a/testpar/t_cache.c
+++ b/testpar/t_cache.c
@@ -2793,7 +2793,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)++;
@@ -2810,7 +2810,7 @@ mark_entry_dirty(H5C_t * cache_ptr,
world_mpi_rank, fcn_name);
}
}
- else
+ else if ( ! ( entry_ptr->locked ) )
{
global_dirty_pins++;
}