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 | |
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')
-rw-r--r-- | sys/dev/ccd/ccd.c | 6 | ||||
-rw-r--r-- | sys/dev/vn/vn.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/ccd/ccd.c b/sys/dev/ccd/ccd.c index 00791e8..29db7a3 100644 --- a/sys/dev/ccd/ccd.c +++ b/sys/dev/ccd/ccd.c @@ -1,4 +1,4 @@ -/* $Id: ccd.c,v 1.32 1998/03/09 20:39:26 julian Exp $ */ +/* $Id: ccd.c,v 1.33 1998/06/07 17:09:41 dfr Exp $ */ /* $NetBSD: ccd.c,v 1.22 1995/12/08 19:13:26 thorpej Exp $ */ @@ -792,12 +792,12 @@ ccdstart(cs, bp) rcount = cbp[0]->cb_buf.b_bcount; if ((cbp[0]->cb_buf.b_flags & B_READ) == 0) cbp[0]->cb_buf.b_vp->v_numoutput++; - VOP_STRATEGY(&cbp[0]->cb_buf); + VOP_STRATEGY(cbp[0]->cb_buf.b_vp, &cbp[0]->cb_buf); if (cs->sc_cflags & CCDF_MIRROR && (cbp[0]->cb_buf.b_flags & B_READ) == 0) { /* mirror, start another write */ cbp[1]->cb_buf.b_vp->v_numoutput++; - VOP_STRATEGY(&cbp[1]->cb_buf); + VOP_STRATEGY(cbp[1]->cb_buf.b_vp, &cbp[1]->cb_buf); } bn += btodb(rcount); addr += rcount; 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) { |