summaryrefslogtreecommitdiff
path: root/sys/vm/vm_object.c
diff options
context:
space:
mode:
authorConstantine Sapuntzakis <csapuntz@cvs.openbsd.org>1997-10-06 15:29:00 +0000
committerConstantine Sapuntzakis <csapuntz@cvs.openbsd.org>1997-10-06 15:29:00 +0000
commite676b3b5ac1041891584dd10c6bde24b82ebb2f2 (patch)
tree4a8713f46221eee3951af02dd885b8dd8a1bf869 /sys/vm/vm_object.c
parent62c64950f8e658fa60106b4d32e70ae3b6156d0d (diff)
VFS Lite2 Changes
Diffstat (limited to 'sys/vm/vm_object.c')
-rw-r--r--sys/vm/vm_object.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/vm/vm_object.c b/sys/vm/vm_object.c
index b4c7ae54454..2191798d551 100644
--- a/sys/vm/vm_object.c
+++ b/sys/vm/vm_object.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vm_object.c,v 1.17 1997/07/25 06:03:09 mickey Exp $ */
+/* $OpenBSD: vm_object.c,v 1.18 1997/10/06 15:28:55 csapuntz Exp $ */
/* $NetBSD: vm_object.c,v 1.46 1997/03/30 20:56:12 mycroft Exp $ */
/*-
@@ -66,7 +66,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * @(#)vm_object.c 8.5 (Berkeley) 3/22/94
+ * @(#)vm_object.c 8.7 (Berkeley) 5/11/95
*
*
* Copyright (c) 1987, 1990 Carnegie-Mellon University.
@@ -416,10 +416,8 @@ vm_object_terminate(object)
*
* XXX need to do something in the event of a cleaning error.
*/
- if ((object->flags & OBJ_INTERNAL) == 0) {
+ if ((object->flags & OBJ_INTERNAL) == 0)
(void) vm_object_page_clean(object, 0, 0, TRUE, TRUE);
- vm_object_unlock(object);
- }
/*
* Now free the pages.