From aaaef0b54e307450b19dcd1fb6ec921cc62d1acf Mon Sep 17 00:00:00 2001 From: phk Date: Sat, 15 Apr 2000 05:54:02 +0000 Subject: 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 --- sys/nfsclient/nfs_bio.c | 6 +++--- sys/nfsclient/nfs_vnops.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'sys/nfsclient') diff --git a/sys/nfsclient/nfs_bio.c b/sys/nfsclient/nfs_bio.c index 58fc691..6923feb 100644 --- a/sys/nfsclient/nfs_bio.c +++ b/sys/nfsclient/nfs_bio.c @@ -1491,7 +1491,7 @@ nfs_doio(bp, cr, p) bp->b_dirtyoff = bp->b_dirtyend = 0; bp->b_flags &= ~(B_NEEDCOMMIT | B_CLUSTEROK); bp->b_resid = 0; - biodone(bp); + bufdone(bp); return (0); } if (retv == NFSERR_STALEWRITEVERF) { @@ -1587,13 +1587,13 @@ nfs_doio(bp, cr, p) } } else { bp->b_resid = 0; - biodone(bp); + bufdone(bp); return (0); } } bp->b_resid = uiop->uio_resid; if (must_commit) nfs_clearcommit(vp->v_mount); - biodone(bp); + bufdone(bp); return (error); } diff --git a/sys/nfsclient/nfs_vnops.c b/sys/nfsclient/nfs_vnops.c index a331854..cae2265 100644 --- a/sys/nfsclient/nfs_vnops.c +++ b/sys/nfsclient/nfs_vnops.c @@ -2943,7 +2943,7 @@ again: bp->b_ioflags &= ~BIO_ERROR; bp->b_dirtyoff = bp->b_dirtyend = 0; splx(s); - biodone(bp); + bufdone(bp); } } } -- cgit v1.1