* cache_sync_transaction() used an earlier signature of the BlockWriter

constructor, causing bug #5412.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35489 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2010-02-16 08:16:17 +00:00
parent 64bf879506
commit 751e92fde1

View File

@ -2590,7 +2590,7 @@ cache_sync_transaction(void* _cache, int32 id)
// write back all of their remaining dirty blocks
T(Action("sync", cache, transaction));
while (transaction->num_blocks > 0) {
BlockWriter writer(cache, transaction->num_blocks);
BlockWriter writer(cache, false);
block_list::Iterator iterator
= transaction->blocks.GetIterator();