diff options
author | phk <phk@FreeBSD.org> | 2000-04-15 05:54:02 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2000-04-15 05:54:02 +0000 |
commit | aaaef0b54e307450b19dcd1fb6ec921cc62d1acf (patch) | |
tree | 175dac1aaf0d06b54deb889161091dbcf88c79c6 /sys/vm/vm_pager.c | |
parent | f2310ef109eccf99c872f4f90eb70f4fc26e39f1 (diff) | |
download | FreeBSD-src-aaaef0b54e307450b19dcd1fb6ec921cc62d1acf.zip FreeBSD-src-aaaef0b54e307450b19dcd1fb6ec921cc62d1acf.tar.gz |
Complete the bio/buf divorce for all code below devfs::strategy
Exceptions:
Vinum untouched. This means that it cannot be compiled.
Greg Lehey is on the case.
CCD not converted yet, casts to struct buf (still safe)
atapi-cd casts to struct buf to examine B_PHYS
Diffstat (limited to 'sys/vm/vm_pager.c')
-rw-r--r-- | sys/vm/vm_pager.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/vm/vm_pager.c b/sys/vm/vm_pager.c index 5890024..bf09d24 100644 --- a/sys/vm/vm_pager.c +++ b/sys/vm/vm_pager.c @@ -269,7 +269,7 @@ vm_pager_strategy(vm_object_t object, struct buf *bp) } else { bp->b_ioflags |= BIO_ERROR; bp->b_error = ENXIO; - biodone(bp); + bufdone(bp); } } @@ -518,7 +518,7 @@ vm_pager_chain_iodone(struct buf *nbp) bp->b_ioflags |= BIO_ERROR; bp->b_error = EINVAL; } - biodone(bp); + bufdone(bp); } } nbp->b_flags |= B_DONE; @@ -568,7 +568,7 @@ flushchainbuf(struct buf *nbp) BUF_KERNPROC(nbp); BUF_STRATEGY(nbp); } else { - biodone(nbp); + bufdone(nbp); } } @@ -587,7 +587,7 @@ waitchainbuf(struct buf *bp, int count, int done) bp->b_ioflags |= BIO_ERROR; bp->b_error = EINVAL; } - biodone(bp); + bufdone(bp); } splx(s); } @@ -599,7 +599,7 @@ autochaindone(struct buf *bp) s = splbio(); if (bp->b_chain.count == 0) - biodone(bp); + bufdone(bp); else bp->b_flags |= B_AUTOCHAINDONE; splx(s); |