1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-13 10:02:38 +00:00

This is a modification missed by me in the msync fixes a few days ago.

This commit is contained in:
John Dyson 1995-11-07 05:09:43 +00:00
parent df1f3c7374
commit 5e527f652f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=12136
2 changed files with 4 additions and 4 deletions

View File

@ -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 @@ vfs_msync(struct mount *mp, int flags) {
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);
}
}

View File

@ -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 @@ vfs_msync(struct mount *mp, int flags) {
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);
}
}