From 052ed056ae42a100f0a42e542cc07049bba598ae Mon Sep 17 00:00:00 2001 From: peter Date: Sat, 31 Oct 1998 15:39:31 +0000 Subject: vm_object_page_clean() last arg changed from TRUE to OBJPC_SYNC. I'm not sure that this is necessary to be a sync write here since a VOP_FSYNC() follows and it will schedule, sort and complete the writes that the vm_object_page_clean() started (as I think I understand things). --- sys/nfsserver/nfs_serv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/nfsserver') diff --git a/sys/nfsserver/nfs_serv.c b/sys/nfsserver/nfs_serv.c index d701213..5e178e1 100644 --- a/sys/nfsserver/nfs_serv.c +++ b/sys/nfsserver/nfs_serv.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * @(#)nfs_serv.c 8.8 (Berkeley) 7/31/95 - * $Id: nfs_serv.c,v 1.68 1998/05/31 20:08:52 peter Exp $ + * $Id: nfs_serv.c,v 1.69 1998/06/07 17:12:24 dfr Exp $ */ /* @@ -3122,7 +3122,7 @@ nfsrv_commit(nfsd, slp, procp, mrq) for_ret = VOP_GETATTR(vp, &bfor, cred, procp); if (vp->v_object && (vp->v_object->flags & OBJ_MIGHTBEDIRTY)) { - vm_object_page_clean(vp->v_object, 0, 0, TRUE); + vm_object_page_clean(vp->v_object, 0, 0, OBJPC_SYNC); } error = VOP_FSYNC(vp, cred, MNT_WAIT, procp); aft_ret = VOP_GETATTR(vp, &aft, cred, procp); -- cgit v1.1