Merge branch 'master' into x86_64

Conflicts:
	headers/posix/arch/x86_64/arch_setjmp.h
	src/system/kernel/cache/block_cache.cpp
This commit is contained in:
Alex Smith
2012-07-20 18:33:46 +01:00
157 changed files with 1528 additions and 1146 deletions
+1 -1
View File
@@ -927,7 +927,7 @@ write_cached_block(block_cache* cache, cached_block* block,
}
}
}
if (block->transaction == NULL && block->ref_count == 0) {
if (block->transaction == NULL && block->ref_count == 0 && !block->unused) {
// the block is no longer used
block->unused = true;
cache->unused_blocks.Add(block);