Date: Tue, 29 May 2018 21:45:16 +0000 (UTC) From: Gleb Smirnoff <glebius@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r334356 - head/sys/kern Message-ID: <201805292145.w4TLjGi6085164@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805292145.w4TLjGi6085164>