diff options
author | mckusick <mckusick@FreeBSD.org> | 1999-06-16 23:27:55 +0000 |
---|---|---|
committer | mckusick <mckusick@FreeBSD.org> | 1999-06-16 23:27:55 +0000 |
commit | 88e39a63db386a8e7939538fd1b350cbe663486b (patch) | |
tree | 002e7a32883a2178dd2164b02c296d429dee5cfd /sys/kern/vfs_export.c | |
parent | 97a0215ac1c4c057e39723365f18d612e9304581 (diff) | |
download | FreeBSD-src-88e39a63db386a8e7939538fd1b350cbe663486b.zip FreeBSD-src-88e39a63db386a8e7939538fd1b350cbe663486b.tar.gz |
Add a vnode argument to VOP_BWRITE to get rid of the last vnode
operator special case. Delete special case code from vnode_if.sh,
vnode_if.src, umap_vnops.c, and null_vnops.c.
Diffstat (limited to 'sys/kern/vfs_export.c')
-rw-r--r-- | sys/kern/vfs_export.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/kern/vfs_export.c b/sys/kern/vfs_export.c index 982850f..bb8fa53 100644 --- a/sys/kern/vfs_export.c +++ b/sys/kern/vfs_export.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)vfs_subr.c 8.31 (Berkeley) 5/26/95 - * $Id: vfs_subr.c,v 1.200 1999/05/31 11:27:44 phk Exp $ + * $Id: vfs_subr.c,v 1.201 1999/06/15 23:37:25 mckusick Exp $ */ /* @@ -650,12 +650,12 @@ vinvalbuf(vp, flags, cred, p, slpflag, slptimeo) } else { bremfree(bp); bp->b_flags |= (B_BUSY | B_ASYNC); - VOP_BWRITE(bp); + VOP_BWRITE(bp->b_vp, bp); } } else { bremfree(bp); bp->b_flags |= B_BUSY; - (void) VOP_BWRITE(bp); + (void) VOP_BWRITE(bp->b_vp, bp); } break; } @@ -778,7 +778,7 @@ restartsync: } else { bp->b_flags &= ~B_ASYNC; } - VOP_BWRITE(bp); + VOP_BWRITE(bp->b_vp, bp); } goto restartsync; } |