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/geom | |
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/geom')
-rw-r--r-- | sys/geom/geom_ccd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/geom/geom_ccd.c b/sys/geom/geom_ccd.c index 00791e8..29db7a3 100644 --- a/sys/geom/geom_ccd.c +++ b/sys/geom/geom_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; |