summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 5bfb933..8d6b546 100644
--- a/testpar/t_cache.c
+++ b/testpar/t_cache.c
@@ -2794,7 +2794,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)++;
@@ -2811,7 +2811,7 @@ mark_entry_dirty(H5C_t * cache_ptr,
world_mpi_rank, fcn_name);
}
}
- else
+ else if ( ! ( entry_ptr->locked ) )
{
global_dirty_pins++;
}