ramfs: Return the number of free pages, not available ones.
This commit is contained in:
parent
0f7252ab76
commit
8e8897315f
@ -266,7 +266,7 @@ Volume::CountBlocks() const
|
||||
off_t
|
||||
Volume::CountFreeBlocks() const
|
||||
{
|
||||
return vm_page_num_available_pages();
|
||||
return vm_page_num_free_pages();
|
||||
}
|
||||
|
||||
// SetName
|
||||
|
Loading…
Reference in New Issue
Block a user