summaryrefslogtreecommitdiffstats
path: root/sys/vm/swap_pager.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/swap_pager.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/swap_pager.c')
-rw-r--r--sys/vm/swap_pager.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/vm/swap_pager.c b/sys/vm/swap_pager.c
index 2f0305a..41a133e 100644
--- a/sys/vm/swap_pager.c
+++ b/sys/vm/swap_pager.c
@@ -39,7 +39,7 @@
* from: Utah $Hdr: swap_pager.c 1.4 91/04/30$
*
* @(#)swap_pager.c 8.9 (Berkeley) 3/21/94
- * $Id: swap_pager.c,v 1.94 1998/04/29 04:27:59 dyson Exp $
+ * $Id: swap_pager.c,v 1.95 1998/05/04 03:01:42 dyson Exp $
*/
/*
@@ -1062,7 +1062,7 @@ swap_pager_getpages(object, m, count, reqpage)
/*
* perform the I/O
*/
- VOP_STRATEGY(bp);
+ VOP_STRATEGY(bp->b_vp, bp);
/*
* wait for the sync I/O to complete
@@ -1466,7 +1466,7 @@ swap_pager_putpages(object, m, count, sync, rtvals)
/*
* perform the I/O
*/
- VOP_STRATEGY(bp);
+ VOP_STRATEGY(bp->b_vp, bp);
if (sync == FALSE) {
if (swap_pager_free_pending) {
swap_pager_sync();
OpenPOWER on IntegriCloud