kernel/vm: Add ASSERT_UNREACHABLE() in VMCache::Commit.
This should never be invoked; only derived-class implementations should be.
This commit is contained in:
@@ -1297,8 +1297,8 @@ VMCache::FlushAndRemoveAllPages()
|
|||||||
status_t
|
status_t
|
||||||
VMCache::Commit(off_t size, int priority)
|
VMCache::Commit(off_t size, int priority)
|
||||||
{
|
{
|
||||||
committed_size = size;
|
ASSERT_UNREACHABLE();
|
||||||
return B_OK;
|
return B_NOT_SUPPORTED;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user