* 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:
parent
64bf879506
commit
751e92fde1
2
src/system/kernel/cache/block_cache.cpp
vendored
2
src/system/kernel/cache/block_cache.cpp
vendored
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user