obj: use ref-counting in set objects

This commit is contained in:
2023-03-05 18:26:05 +00:00
parent d41ea0cd52
commit 8285506e58
2 changed files with 4 additions and 4 deletions

View File

@@ -90,8 +90,6 @@ void object_deref(object_t *obj)
}
vm_cache_free(&obj->ob_type->ob_cache, obj);
spin_unlock_irqrestore(&obj->ob_lock, flags);
}
void object_lock(object_t *obj, unsigned long *flags)