vm_object_shadow: Remove an incorrect assertion. In obscure circumstances
vm_object_shadow can be called on an object with ref_count > 1 and OBJ_ONEMAPPING set. This isn't really a problem for vm_object_shadow.
This commit is contained in:
parent
585dfedb38
commit
d7414c4446
@ -910,9 +910,6 @@ vm_object_shadow(object, offset, length)
|
||||
source->type == OBJT_SWAP))
|
||||
return;
|
||||
|
||||
KASSERT((source->flags & OBJ_ONEMAPPING) == 0,
|
||||
("vm_object_shadow: source object has OBJ_ONEMAPPING set.\n"));
|
||||
|
||||
/*
|
||||
* Allocate a new object with the given length
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user