diff options
author | phk <phk@FreeBSD.org> | 2003-10-18 11:14:29 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-10-18 11:14:29 +0000 |
commit | 1e371cc970ddeb5da92d1699444120a7d619df3d (patch) | |
tree | eb47a6bb1dccc5f6377d586f29f84b28bf689ead /sys/nfsclient/nfs_bio.c | |
parent | bd00da531d31aa9d624805c19878a25c3a40f081 (diff) | |
download | FreeBSD-src-1e371cc970ddeb5da92d1699444120a7d619df3d.zip FreeBSD-src-1e371cc970ddeb5da92d1699444120a7d619df3d.tar.gz |
Initialize bp->b_offset before calling VOP_STRATEGY().
Remove KASSERTS and panics with B_PHYS checks which no longer apply.
Diffstat (limited to 'sys/nfsclient/nfs_bio.c')
-rw-r--r-- | sys/nfsclient/nfs_bio.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/nfsclient/nfs_bio.c b/sys/nfsclient/nfs_bio.c index a8044b4..442acbc 100644 --- a/sys/nfsclient/nfs_bio.c +++ b/sys/nfsclient/nfs_bio.c @@ -1292,11 +1292,6 @@ nfs_doio(struct buf *bp, struct ucred *cr, struct thread *td) KASSERT(!(bp->b_flags & B_DONE), ("nfs_doio: bp %p already marked done", bp)); - /* - * Historically, paging was done with physio, but no more. - */ - KASSERT(!(bp->b_flags & B_PHYS), ("B_PHYS in nfs_doio")); - if (bp->b_iocmd == BIO_READ) { io.iov_len = uiop->uio_resid = bp->b_bcount; io.iov_base = bp->b_data; |