summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_object.c
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2000-04-19 16:32:04 +0000
committeralc <alc@FreeBSD.org>2000-04-19 16:32:04 +0000
commit5be57cb29c257e176f886cef52f6b0fc7e15f8cc (patch)
tree06b80cbd94a92ad26abcaa4b211bf549cb434e83 /sys/vm/vm_object.c
parent9b9890351af921db6081322c7eca6aec88cf4714 (diff)
downloadFreeBSD-src-5be57cb29c257e176f886cef52f6b0fc7e15f8cc.zip
FreeBSD-src-5be57cb29c257e176f886cef52f6b0fc7e15f8cc.tar.gz
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.
Diffstat (limited to 'sys/vm/vm_object.c')
-rw-r--r--sys/vm/vm_object.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/vm/vm_object.c b/sys/vm/vm_object.c
index 0b961fd..c77e6d8 100644
--- a/sys/vm/vm_object.c
+++ b/sys/vm/vm_object.c
@@ -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
*/
OpenPOWER on IntegriCloud