vmm: pass cred struct to VOP_MAP and VOP_UNMAP

This commit is contained in:
Matheus
2023-07-08 14:40:04 -03:00
parent 300e77e36d
commit 92a518927d
3 changed files with 9 additions and 5 deletions
-1
View File
@@ -20,7 +20,6 @@ static void initarea(scache_t *cache, void *obj) {
}
static scache_t *getcachefromsize(size_t size) {
// XXX find a faster way to check this
scache_t *cache = NULL;
for (int i = 0; i < CACHE_COUNT; ++i) {
if (size <= allocsizes[i]) {