svn commit: r334356 - head/sys/kern

Gleb Smirnoff glebius at FreeBSD.org
Tue May 29 21:45:16 UTC 2018


Author: glebius
Date: Tue May 29 21:45:15 2018
New Revision: 334356
URL: https://svnweb.freebsd.org/changeset/base/334356

Log:
  Revert second chunk of r333860. The warning from gcc is false positive. The
  npages won't be ever used in no space case.

Modified:
  head/sys/kern/kern_sendfile.c

Modified: head/sys/kern/kern_sendfile.c
==============================================================================
--- head/sys/kern/kern_sendfile.c	Tue May 29 21:37:02 2018	(r334355)
+++ head/sys/kern/kern_sendfile.c	Tue May 29 21:45:15 2018	(r334356)
@@ -688,7 +688,6 @@ retry_space:
 			if (space == 0) {
 				sfio = NULL;
 				nios = 0;
-				npages = 0;
 				goto prepend_header;
 			}
 			hdr_uio = NULL;


More information about the svn-src-head mailing list