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/fs/umapfs | |
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/fs/umapfs')
-rw-r--r-- | sys/fs/umapfs/umap_vnops.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/fs/umapfs/umap_vnops.c b/sys/fs/umapfs/umap_vnops.c index f37e4c7..b90b351 100644 --- a/sys/fs/umapfs/umap_vnops.c +++ b/sys/fs/umapfs/umap_vnops.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * @(#)umap_vnops.c 8.6 (Berkeley) 5/22/95 - * $Id: umap_vnops.c,v 1.22 1997/10/21 21:08:17 roberto Exp $ + * $Id: umap_vnops.c,v 1.23 1998/02/07 01:36:24 kato Exp $ */ /* @@ -430,6 +430,7 @@ umap_reclaim(ap) static int umap_strategy(ap) struct vop_strategy_args /* { + struct vnode *a_vp; struct buf *a_bp; } */ *ap; { @@ -440,7 +441,7 @@ umap_strategy(ap) savedvp = bp->b_vp; bp->b_vp = UMAPVPTOLOWERVP(bp->b_vp); - error = VOP_STRATEGY(ap->a_bp); + error = VOP_STRATEGY(bp->b_vp, ap->a_bp); bp->b_vp = savedvp; |