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:
Alan Cox 2000-04-19 16:32:04 +00:00
parent 585dfedb38
commit d7414c4446

View File

@ -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
*/