* 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:
+1
-1
@@ -2590,7 +2590,7 @@ cache_sync_transaction(void* _cache, int32 id)
|
|||||||
// write back all of their remaining dirty blocks
|
// write back all of their remaining dirty blocks
|
||||||
T(Action("sync", cache, transaction));
|
T(Action("sync", cache, transaction));
|
||||||
while (transaction->num_blocks > 0) {
|
while (transaction->num_blocks > 0) {
|
||||||
BlockWriter writer(cache, transaction->num_blocks);
|
BlockWriter writer(cache, false);
|
||||||
block_list::Iterator iterator
|
block_list::Iterator iterator
|
||||||
= transaction->blocks.GetIterator();
|
= transaction->blocks.GetIterator();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user