aboutsummaryrefslogtreecommitdiff
path: root/sys/geom
diff options
context:
space:
mode:
authorJulian Elischer <julian@FreeBSD.org>1998-07-04 20:45:42 +0000
committerJulian Elischer <julian@FreeBSD.org>1998-07-04 20:45:42 +0000
commitfd5d1124e25f9996b0bfbf17156d850d106b27b4 (patch)
tree64544e473d50bcc2f730bd7ed50ba239b54ffed3 /sys/geom
parent52f8e5d6723e9a1340f013b3bf36d7b512023307 (diff)
downloadsrc-fd5d1124e25f9996b0bfbf17156d850d106b27b4.tar.gz
src-fd5d1124e25f9996b0bfbf17156d850d106b27b4.zip
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>
Notes
Notes: svn path=/head/; revision=37384
Diffstat (limited to 'sys/geom')
-rw-r--r--sys/geom/geom_ccd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/geom/geom_ccd.c b/sys/geom/geom_ccd.c
index 00791e811910..29db7a3b63b4 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;