Adapt for VOP_FSYNC parameter change.

This commit is contained in:
fvdl 2000-09-19 22:00:01 +00:00
parent ffdb0fc59d
commit 8c28d7e864
2 changed files with 4 additions and 4 deletions

View File

@ -6,7 +6,7 @@ mkdir
rmdir
symlink
*/
/* $NetBSD: coda_vnops.c,v 1.20 2000/08/03 20:41:05 thorpej Exp $ */
/* $NetBSD: coda_vnops.c,v 1.21 2000/09/19 22:00:01 fvdl Exp $ */
/*
*
@ -808,7 +808,7 @@ coda_fsync(v)
}
if (convp)
VOP_FSYNC(convp, cred, MNT_WAIT, p);
VOP_FSYNC(convp, cred, MNT_WAIT, 0, 0, p);
/*
* We can expect fsync on any vnode at all if venus is pruging it.

View File

@ -1,4 +1,4 @@
/* $NetBSD: vfs_subr.c,v 1.139 2000/09/05 05:13:43 enami Exp $ */
/* $NetBSD: vfs_subr.c,v 1.140 2000/09/19 22:00:58 fvdl Exp $ */
/*-
* Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@ -636,7 +636,7 @@ vinvalbuf(vp, flags, cred, p, slpflag, slptimeo)
int s, error;
if (flags & V_SAVE) {
error = VOP_FSYNC(vp, cred, FSYNC_WAIT|FSYNC_RECLAIM, p);
error = VOP_FSYNC(vp, cred, FSYNC_WAIT|FSYNC_RECLAIM, 0, 0, p);
if (error)
return (error);
#ifdef DIAGNOSTIC