From 5e527f652f4c79403a10a37e93205a879b54f8dd Mon Sep 17 00:00:00 2001 From: John Dyson Date: Tue, 7 Nov 1995 05:09:43 +0000 Subject: [PATCH] This is a modification missed by me in the msync fixes a few days ago. --- sys/kern/vfs_export.c | 4 ++-- sys/kern/vfs_subr.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/kern/vfs_export.c b/sys/kern/vfs_export.c index d6c1cc0621a2..8e40e660fb83 100644 --- a/sys/kern/vfs_export.c +++ b/sys/kern/vfs_export.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)vfs_subr.c 8.13 (Berkeley) 4/18/94 - * $Id: vfs_subr.c,v 1.36 1995/08/25 20:49:44 bde Exp $ + * $Id: vfs_subr.c,v 1.37 1995/10/28 08:50:08 bde Exp $ */ /* @@ -1538,7 +1538,7 @@ loop: if (VOP_ISLOCKED(vp) && (flags != MNT_WAIT)) continue; if (vp->v_object && - (((vm_object_t) vp->v_object)->flags & OBJ_WRITEABLE)) { + (((vm_object_t) vp->v_object)->flags & OBJ_MIGHTBEDIRTY)) { vm_object_page_clean(vp->v_object, 0, 0, TRUE, TRUE); } } diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c index d6c1cc0621a2..8e40e660fb83 100644 --- a/sys/kern/vfs_subr.c +++ b/sys/kern/vfs_subr.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)vfs_subr.c 8.13 (Berkeley) 4/18/94 - * $Id: vfs_subr.c,v 1.36 1995/08/25 20:49:44 bde Exp $ + * $Id: vfs_subr.c,v 1.37 1995/10/28 08:50:08 bde Exp $ */ /* @@ -1538,7 +1538,7 @@ loop: if (VOP_ISLOCKED(vp) && (flags != MNT_WAIT)) continue; if (vp->v_object && - (((vm_object_t) vp->v_object)->flags & OBJ_WRITEABLE)) { + (((vm_object_t) vp->v_object)->flags & OBJ_MIGHTBEDIRTY)) { vm_object_page_clean(vp->v_object, 0, 0, TRUE, TRUE); } }