logger: make writeback more resilient

This commit is contained in:
Thomas Schoebel-Theuer 2013-07-03 10:01:04 +02:00
parent e0d980223b
commit d4338032bb
1 changed files with 1 additions and 1 deletions

View File

@ -436,7 +436,7 @@ void hash_extend(struct trans_logger_brick *brick, loff_t *_pos, int *_len, stru
goto collision;
// no writeback of non-persistent data
if (!test_a->is_persistent)
if (!(test_a->is_persistent & test_a->is_completed))
goto collision;
// extend the search region when necessary