summaryrefslogtreecommitdiffstats
path: root/sys/nfsserver
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1998-10-31 15:39:31 +0000
committerpeter <peter@FreeBSD.org>1998-10-31 15:39:31 +0000
commit052ed056ae42a100f0a42e542cc07049bba598ae (patch)
treea714e90ba50e2840d2c89b7702dbca75b6fb9804 /sys/nfsserver
parent8ad638ff9e8e08a77237a50cbc3c04fff97cb268 (diff)
downloadFreeBSD-src-052ed056ae42a100f0a42e542cc07049bba598ae.zip
FreeBSD-src-052ed056ae42a100f0a42e542cc07049bba598ae.tar.gz
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).
Diffstat (limited to 'sys/nfsserver')
-rw-r--r--sys/nfsserver/nfs_serv.c4
1 files changed, 2 insertions, 2 deletions
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);
OpenPOWER on IntegriCloud