diff options
Diffstat (limited to 'sys/vm/swap_pager.c')
-rw-r--r-- | sys/vm/swap_pager.c | 8 |
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); } |