vm_copy_on_write_area() did not correctly set the upper cache_ref - vm_cache's
pointer to the ref was not set (resulting in a crash). git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9282 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
41dbd5191c
commit
d3ddbef95c
@ -1303,6 +1303,7 @@ vm_copy_on_write_area(vm_region *area)
|
||||
upperCache->temporary = 1;
|
||||
upperCache->scan_skip = lowerCache->scan_skip;
|
||||
upperCache->source = lowerCache;
|
||||
upperCache->ref = upperCacheRef;
|
||||
upperCacheRef->cache = upperCache;
|
||||
|
||||
// we need to manually alter the ref_count
|
||||
|
Loading…
Reference in New Issue
Block a user