diff options
author | julian <julian@FreeBSD.org> | 1998-07-04 20:45:42 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 1998-07-04 20:45:42 +0000 |
commit | 4363221ba26e1c75ed511a0f0865f846907e9872 (patch) | |
tree | ccd3e1b781efc6b15bb2a815e23ac9efbb3eea8b /sys/dev/vn | |
parent | 1502eaffb37d04a2a82d6efdb9ddedbfdeb64f8d (diff) | |
download | FreeBSD-src-4363221ba26e1c75ed511a0f0865f846907e9872.zip FreeBSD-src-4363221ba26e1c75ed511a0f0865f846907e9872.tar.gz |
VOP_STRATEGY grows an (struct vnode *) argument
as the value in b_vp is often not really what you want.
(and needs to be frobbed). more cleanups will follow this.
Reviewed by: Bruce Evans <bde@freebsd.org>
Diffstat (limited to 'sys/dev/vn')
-rw-r--r-- | sys/dev/vn/vn.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/vn/vn.c b/sys/dev/vn/vn.c index 4370689..b94fa90 100644 --- a/sys/dev/vn/vn.c +++ b/sys/dev/vn/vn.c @@ -38,7 +38,7 @@ * from: Utah Hdr: vn.c 1.13 94/04/02 * * from: @(#)vn.c 8.6 (Berkeley) 4/1/94 - * $Id: vn.c,v 1.61 1998/06/07 20:10:53 dfr Exp $ + * $Id: vn.c,v 1.62 1998/07/04 00:27:48 julian Exp $ */ /* @@ -401,7 +401,7 @@ vnstrategy(struct buf *bp) if ((nbp->b_flags & B_READ) == 0) nbp->b_vp->v_numoutput++; - VOP_STRATEGY(nbp); + VOP_STRATEGY(vp, nbp); s = splbio(); while ((nbp->b_flags & B_DONE) == 0) { @@ -574,7 +574,7 @@ nvsIOreq(void *private ,struct buf *bp) if ((nbp->b_flags & B_READ) == 0) nbp->b_vp->v_numoutput++; - VOP_STRATEGY(nbp); + VOP_STRATEGY(vp, nbp); s = splbio(); while ((nbp->b_flags & B_DONE) == 0) { |