summaryrefslogtreecommitdiffstats
path: root/sys/vm/swap_pager.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-01-03 06:32:15 +0000
committerphk <phk@FreeBSD.org>2003-01-03 06:32:15 +0000
commitdaf6948653371fc707e009c01cb68aaf25092743 (patch)
treec1a67015350cd075392cc71ce5ac0f487b1e3711 /sys/vm/swap_pager.c
parentcd377db9e281126ef0a7198c61f61ba5ebfea726 (diff)
downloadFreeBSD-src-daf6948653371fc707e009c01cb68aaf25092743.zip
FreeBSD-src-daf6948653371fc707e009c01cb68aaf25092743.tar.gz
Convert calls to BUF_STRATEGY to VOP_STRATEGY calls. This is a no-op since
all BUF_STRATEGY did in the first place was call VOP_STRATEGY.
Diffstat (limited to 'sys/vm/swap_pager.c')
-rw-r--r--sys/vm/swap_pager.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/vm/swap_pager.c b/sys/vm/swap_pager.c
index 78d9849..5771a9c 100644
--- a/sys/vm/swap_pager.c
+++ b/sys/vm/swap_pager.c
@@ -1143,7 +1143,7 @@ swap_pager_getpages(object, m, count, reqpage)
* NOTE: b_blkno is destroyed by the call to VOP_STRATEGY
*/
BUF_KERNPROC(bp);
- BUF_STRATEGY(bp);
+ VOP_STRATEGY(bp->b_vp, bp);
/*
* wait for the page we want to complete. PG_SWAPINPROG is always
@@ -1390,7 +1390,7 @@ swap_pager_putpages(object, m, count, sync, rtvals)
if (sync == FALSE) {
bp->b_iodone = swp_pager_async_iodone;
BUF_KERNPROC(bp);
- BUF_STRATEGY(bp);
+ VOP_STRATEGY(bp->b_vp, bp);
for (j = 0; j < n; ++j)
rtvals[i+j] = VM_PAGER_PEND;
@@ -1404,7 +1404,7 @@ swap_pager_putpages(object, m, count, sync, rtvals)
* NOTE: b_blkno is destroyed by the call to VOP_STRATEGY
*/
bp->b_iodone = swp_pager_sync_iodone;
- BUF_STRATEGY(bp);
+ VOP_STRATEGY(bp->b_vp, bp);
/*
* Wait for the sync I/O to complete, then update rtvals.
@@ -2176,7 +2176,7 @@ flushchainbuf(struct buf *nbp)
if (nbp->b_iocmd == BIO_WRITE)
nbp->b_dirtyend = nbp->b_bcount;
BUF_KERNPROC(nbp);
- BUF_STRATEGY(nbp);
+ VOP_STRATEGY(nbp->b_vp, nbp);
} else {
bufdone(nbp);
}
OpenPOWER on IntegriCloud