Subject: CVS commit: syssrc/sys/kern
To: None <source-changes@netbsd.org>
From: Jaromir Dolecek <jdolecek@netbsd.org>
List: source-changes
Date: 07/17/2001 21:18:53
Module Name:	syssrc
Committed By:	jdolecek
Date:		Tue Jul 17 18:18:52 UTC 2001

Modified Files:
	syssrc/sys/kern: sys_pipe.c

Log Message:
fix bogus uio->uio_offset check introduced in rev. 1.5, which effectively
disabled loans for writes (a.k.a "direct write"), oops; use uio->uio_resid
for the check instead

don't bother updating uio->uio_offset in pipe_direct_write(), it's not used
by upper layers anyway


To generate a diff of this commit:
cvs rdiff -r1.6 -r1.7 syssrc/sys/kern/sys_pipe.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.