summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_swap.c
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>1998-07-04 20:45:42 +0000
committerjulian <julian@FreeBSD.org>1998-07-04 20:45:42 +0000
commit4363221ba26e1c75ed511a0f0865f846907e9872 (patch)
treeccd3e1b781efc6b15bb2a815e23ac9efbb3eea8b /sys/vm/vm_swap.c
parent1502eaffb37d04a2a82d6efdb9ddedbfdeb64f8d (diff)
downloadFreeBSD-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/vm/vm_swap.c')
-rw-r--r--sys/vm/vm_swap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/vm/vm_swap.c b/sys/vm/vm_swap.c
index 7189797..7e9c6e2 100644
--- a/sys/vm/vm_swap.c
+++ b/sys/vm/vm_swap.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)vm_swap.c 8.5 (Berkeley) 2/17/94
- * $Id: vm_swap.c,v 1.53 1998/02/23 08:22:44 dyson Exp $
+ * $Id: vm_swap.c,v 1.54 1998/06/25 11:28:07 phk Exp $
*/
#include "opt_devfs.h"
@@ -149,7 +149,7 @@ swstrategy(bp)
pbrelvp(bp);
splx(s);
bp->b_vp = sp->sw_vp;
- VOP_STRATEGY(bp);
+ VOP_STRATEGY(bp->b_vp, bp);
}
/*
OpenPOWER on IntegriCloud