mm: add flags argument to mm_cache_get_page

This commit is contained in:
Matheus
2026-07-18 15:24:31 -03:00
parent b9531c0ec7
commit 6e5e9ecdc5
5 changed files with 10 additions and 9 deletions
+1 -1
View File
@@ -231,7 +231,7 @@ int abc_get_block(abc_t *abc, uint64_t block, abc_block_t **ret) {
}
page_t *page;
int error = mm_cache_get_page(abc->backing, ROUND_DOWN(block * abc->block_size, PAGE_SIZE), &page);
int error = mm_cache_get_page(abc->backing, ROUND_DOWN(block * abc->block_size, PAGE_SIZE), 0, &page);
if (error) {
slab_free(abc_block_cache, abc_block);
trie_free_preallocation(trie_preallocation);