Added assert.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35497 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2010-02-16 16:49:52 +00:00
parent 66a1a16cbc
commit 4bb4f79355

View File

@ -297,6 +297,7 @@ VMCache::ReleaseRefAndUnlock(bool consumerLocked)
void
VMCache::MarkPageUnbusy(vm_page* page)
{
ASSERT(page->busy);
page->busy = false;
NotifyPageEvents(page, PAGE_EVENT_NOT_BUSY);
}