diff options
author | peter <peter@FreeBSD.org> | 1998-10-31 15:39:31 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1998-10-31 15:39:31 +0000 |
commit | 052ed056ae42a100f0a42e542cc07049bba598ae (patch) | |
tree | a714e90ba50e2840d2c89b7702dbca75b6fb9804 /sys/nfsserver | |
parent | 8ad638ff9e8e08a77237a50cbc3c04fff97cb268 (diff) | |
download | FreeBSD-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.c | 4 |
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); |