aboutsummaryrefslogtreecommitdiff
path: root/sys/nfsclient
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2000-04-15 05:54:02 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2000-04-15 05:54:02 +0000
commit8177437d85f8a1edd437dab643b153d62170135f (patch)
tree15f6a55095e767e8981f2ba8b7d0bc57532ce223 /sys/nfsclient
parent9754f5b65bbabf3bbbd935a82ddd82fc5ffa6aa9 (diff)
downloadsrc-8177437d85f8a1edd437dab643b153d62170135f.tar.gz
src-8177437d85f8a1edd437dab643b153d62170135f.zip
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
Notes
Notes: svn path=/head/; revision=59249
Diffstat (limited to 'sys/nfsclient')
-rw-r--r--sys/nfsclient/nfs_bio.c6
-rw-r--r--sys/nfsclient/nfs_vnops.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/nfsclient/nfs_bio.c b/sys/nfsclient/nfs_bio.c
index 58fc6912eba9..6923feb9e059 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 a33185401269..cae22655bf76 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);
}
}
}