summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2005-01-30 21:29:47 +0000
committeralc <alc@FreeBSD.org>2005-01-30 21:29:47 +0000
commit19b479b41fcc8ce21f9b6cc851406e12d90f73a3 (patch)
treebc07e71a425bdaaefd07ccbc603754e1ee575488 /sys
parent4bd08bd2d324715dcd3c7651dd1b7cd856922930 (diff)
downloadFreeBSD-src-19b479b41fcc8ce21f9b6cc851406e12d90f73a3.zip
FreeBSD-src-19b479b41fcc8ce21f9b6cc851406e12d90f73a3.tar.gz
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
Diffstat (limited to 'sys')
-rw-r--r--sys/vm/vm_object.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/vm/vm_object.c b/sys/vm/vm_object.c
index 17a9ce0..9adf836 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;
}
/*
OpenPOWER on IntegriCloud