Lock an update to a vm_object's ref_count.
This commit is contained in:
parent
cda4b241e2
commit
ab7b0ae578
@ -605,7 +605,9 @@ retry:
|
||||
* Dereference the reference we just created. This assumes
|
||||
* that the object is associated with the vp.
|
||||
*/
|
||||
VM_OBJECT_LOCK(object);
|
||||
object->ref_count--;
|
||||
VM_OBJECT_UNLOCK(object);
|
||||
vrele(vp);
|
||||
} else {
|
||||
if (object->flags & OBJ_DEAD) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user