summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>2009-07-12 03:53:52 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>2009-07-12 03:53:52 +0000
commitb54b764c72a1343770469aef9bf651a42b2f71a7 (patch)
tree5744a17f2e68f9b39b81e9ee5affd4e4375841bf
parent79bc145130ff4eca53885fece3e627751fddbdd7 (diff)
Notes
-rw-r--r--sys/nfs/nfs_common.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/nfs/nfs_common.c b/sys/nfs/nfs_common.c
index 086930945596..b2c231fc61e5 100644
--- a/sys/nfs/nfs_common.c
+++ b/sys/nfs/nfs_common.c
@@ -126,10 +126,9 @@ nfsm_mbuftouio(struct mbuf **mrep, struct uio *uiop, int siz, caddr_t *dpos)
(mbufcp, uiocp, xfer);
else
#endif
- if (uiop->uio_segflg == UIO_SYSSPACE) {
+ if (uiop->uio_segflg == UIO_SYSSPACE)
bcopy(mbufcp, uiocp, xfer);
- cpu_flush_dcache(uiocp, xfer);
- } else
+ else
copyout(mbufcp, uiocp, xfer);
left -= xfer;
len -= xfer;