mirror of
https://review.haiku-os.org/haiku
synced 2025-01-18 12:38:51 +01:00
kernel/vm: Default AcquireUnreferencedStoreRef() to B_ERROR.
We shouldn't return B_OK here, because then the page writer will assume it's acquired a store ref and can write pages from this cache, when of course it's done nothing of the sort.
This commit is contained in:
parent
f69d8200cd
commit
1ad6193d82
@ -1418,7 +1418,7 @@ VMCache::Merge(VMCache* source)
|
||||
status_t
|
||||
VMCache::AcquireUnreferencedStoreRef()
|
||||
{
|
||||
return B_OK;
|
||||
return B_ERROR;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user