From 8e99783b259e78fd4a55c805ab59907ed7fcdb20 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Sun, 30 Jan 2005 21:29:47 +0000 Subject: [PATCH] Update the text of an assertion to reflect changes made in revision 1.148. Submitted by: tegge Eliminate an unnecessary, temporary increment of the backing object's reference count in vm_object_qcollapse(). Reviewed by: tegge --- sys/vm/vm_object.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/sys/vm/vm_object.c b/sys/vm/vm_object.c index 17a9ce04d2f8..9adf836fa749 100644 --- a/sys/vm/vm_object.c +++ b/sys/vm/vm_object.c @@ -1467,7 +1467,7 @@ vm_object_backing_scan(vm_object_t object, int op) KASSERT( p->object == backing_object, - ("vm_object_qcollapse(): object mismatch") + ("vm_object_backing_scan: object mismatch") ); /* @@ -1551,11 +1551,7 @@ vm_object_qcollapse(vm_object_t object) if (backing_object->ref_count != 1) return; - backing_object->ref_count += 2; - vm_object_backing_scan(object, OBSC_COLLAPSE_NOWAIT); - - backing_object->ref_count -= 2; } /*