diff options
author | phk <phk@FreeBSD.org> | 2003-01-03 06:32:15 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-01-03 06:32:15 +0000 |
commit | daf6948653371fc707e009c01cb68aaf25092743 (patch) | |
tree | c1a67015350cd075392cc71ce5ac0f487b1e3711 /sys/vm | |
parent | cd377db9e281126ef0a7198c61f61ba5ebfea726 (diff) | |
download | FreeBSD-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')
-rw-r--r-- | sys/vm/swap_pager.c | 8 | ||||
-rw-r--r-- | sys/vm/vm_swap.c | 2 | ||||
-rw-r--r-- | sys/vm/vnode_pager.c | 4 |
3 files changed, 7 insertions, 7 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); } diff --git a/sys/vm/vm_swap.c b/sys/vm/vm_swap.c index 0ec5220..5e488c9 100644 --- a/sys/vm/vm_swap.c +++ b/sys/vm/vm_swap.c @@ -163,7 +163,7 @@ swapdev_strategy(ap) } bp->b_vp = sp->sw_vp; splx(s); - BUF_STRATEGY(bp); + VOP_STRATEGY(bp->b_vp, bp); return 0; } diff --git a/sys/vm/vnode_pager.c b/sys/vm/vnode_pager.c index 667bd3a..63da3ca 100644 --- a/sys/vm/vnode_pager.c +++ b/sys/vm/vnode_pager.c @@ -493,7 +493,7 @@ vnode_pager_input_smlfs(object, m) runningbufspace += bp->b_runningbufspace; /* do the input */ - BUF_STRATEGY(bp); + VOP_STRATEGY(bp->b_vp, bp); /* we definitely need to be at splvm here */ @@ -823,7 +823,7 @@ vnode_pager_generic_getpages(vp, m, bytecount, reqpage) cnt.v_vnodepgsin += count; /* do the input */ - BUF_STRATEGY(bp); + VOP_STRATEGY(bp->b_vp, bp); s = splvm(); /* we definitely need to be at splvm here */ |