During early boot, there are no semaphores - but vm_cache_ref are already created...

Must be further investigated (if the locks are created later or not...)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15643 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2005-12-21 17:47:50 +00:00
parent 1e12fe8e5d
commit a8a13a0ae5

View File

@ -126,8 +126,8 @@ vm_cache_ref_create(vm_cache *cache)
return NULL;
if (mutex_init(&ref->lock, "cache_ref_mutex") < B_OK) {
free(ref);
return NULL;
// free(ref);
// return NULL;
}
ref->areas = NULL;