From 4363221ba26e1c75ed511a0f0865f846907e9872 Mon Sep 17 00:00:00 2001 From: julian Date: Sat, 4 Jul 1998 20:45:42 +0000 Subject: 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 --- sys/miscfs/union/union_vnops.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sys/miscfs/union') diff --git a/sys/miscfs/union/union_vnops.c b/sys/miscfs/union/union_vnops.c index f1c6d78..2bcd1ee 100644 --- a/sys/miscfs/union/union_vnops.c +++ b/sys/miscfs/union/union_vnops.c @@ -35,7 +35,7 @@ * SUCH DAMAGE. * * @(#)union_vnops.c 8.32 (Berkeley) 6/23/95 - * $Id: union_vnops.c,v 1.56 1998/03/17 08:47:50 kato Exp $ + * $Id: union_vnops.c,v 1.57 1998/05/07 04:58:38 msmith Exp $ */ #include @@ -1725,6 +1725,7 @@ union_advlock(ap) static int union_strategy(ap) struct vop_strategy_args /* { + struct vnode *a_vp; struct buf *a_bp; } */ *ap; { @@ -1743,7 +1744,7 @@ union_strategy(ap) panic("union_strategy: writing to lowervp"); #endif - error = VOP_STRATEGY(bp); + error = VOP_STRATEGY(bp->b_vp, bp); bp->b_vp = savedvp; return (error); -- cgit v1.1