Page MenuHomeFreeBSD

D43160.diff
No OneTemporary

D43160.diff

diff --git a/sys/fs/nfs/nfs_commonsubs.c b/sys/fs/nfs/nfs_commonsubs.c
--- a/sys/fs/nfs/nfs_commonsubs.c
+++ b/sys/fs/nfs/nfs_commonsubs.c
@@ -679,17 +679,13 @@
("len %d, corrupted mbuf?", len));
}
xfer = (left > len) ? len : left;
-#ifdef notdef
- /* Not Yet.. */
- if (uiop->uio_iov->iov_op != NULL)
- (*(uiop->uio_iov->iov_op))
- (mbufcp, uiocp, xfer);
- else
-#endif
if (uiop->uio_segflg == UIO_SYSSPACE)
NFSBCOPY(mbufcp, uiocp, xfer);
- else
- copyout(mbufcp, uiocp, xfer);
+ else {
+ error = copyout(mbufcp, uiocp, xfer);
+ if (error != 0)
+ goto out;
+ }
left -= xfer;
len -= xfer;
mbufcp += xfer;

File Metadata

Mime Type
text/plain
Expires
Mon, Jan 27, 1:37 PM (5 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16197571
Default Alt Text
D43160.diff (675 B)

Event Timeline