Make buildable again.

The previous commit was a backout of rev. 1.45, which must be an accident.
This commit is contained in:
toshii 2000-11-18 02:11:23 +00:00
parent a687c7deac
commit 92a17c6ecd
1 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: lfs_vnops.c,v 1.48 2000/11/17 19:14:42 perseant Exp $ */
/* $NetBSD: lfs_vnops.c,v 1.49 2000/11/18 02:11:23 toshii Exp $ */
/*-
* Copyright (c) 1999, 2000 The NetBSD Foundation, Inc.
@ -282,6 +282,8 @@ lfs_fsync(v)
struct vnode *a_vp;
struct ucred *a_cred;
int a_flags;
off_t offlo;
off_t offhi;
struct proc *a_p;
} */ *ap = v;
@ -496,7 +498,7 @@ lfs_mknod(v)
* return. But, that leaves this vnode in limbo, also not good.
* Can this ever happen (barring hardware failure)?
*/
if ((error = VOP_FSYNC(*vpp, NOCRED, FSYNC_WAIT, curproc)) != 0) {
if ((error = VOP_FSYNC(*vpp, NOCRED, FSYNC_WAIT, 0, 0, curproc)) != 0) {
printf("Couldn't fsync in mknod (ino %d)---what do I do?\n",
VTOI(*vpp)->i_number);
return (error);