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/miscfs/union | |
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/miscfs/union')
-rw-r--r-- | sys/miscfs/union/union_vnops.c | 5 |
1 files changed, 3 insertions, 2 deletions
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 <sys/param.h> @@ -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); |