mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
vmm: pass cred struct to VOP_MAP and VOP_UNMAP
This commit is contained in:
@@ -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]) {
|
||||
|
||||
Reference in New Issue
Block a user