Kernel: Make TmpFS enforce max page count.

This commit is contained in:
2023-11-07 16:13:21 +02:00
parent d6ae1bcf36
commit fda0dfec30
2 changed files with 13 additions and 0 deletions

View File

@@ -145,6 +145,7 @@ namespace Kernel
(PAGE_SIZE / sizeof(TmpInodeInfo));
const size_t m_max_pages;
size_t m_used_pages { 0 };
};
template<TmpFuncs::with_block_buffer_callback F>