ramfs: Return the number of free pages, not available ones.

This commit is contained in:
Augustin Cavalier 2019-09-02 13:14:07 -04:00
parent 0f7252ab76
commit 8e8897315f

View File

@ -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