Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Aug 2019 16:11:00 +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: r350636 - head/sys/kern
Message-ID:  <201908061611.x76GB0ul004230@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: glebius
Date: Tue Aug  6 16:11:00 2019
New Revision: 350636
URL: https://svnweb.freebsd.org/changeset/base/350636

Log:
  Since r350426 this KASSERT doesn't serve any useful purpose.

Modified:
  head/sys/kern/kern_sendfile.c

Modified: head/sys/kern/kern_sendfile.c
==============================================================================
--- head/sys/kern/kern_sendfile.c	Tue Aug  6 16:09:06 2019	(r350635)
+++ head/sys/kern/kern_sendfile.c	Tue Aug  6 16:11:00 2019	(r350636)
@@ -392,8 +392,6 @@ sendfile_swapin(vm_object_t obj, struct sf_io *sfio, i
 			VM_OBJECT_WUNLOCK(obj);
 			return (EIO);
 		}
-		KASSERT(rv == VM_PAGER_OK, ("%s: pager fail obj %p page %p",
-		    __func__, obj, pa[i]));
 
 		SFSTAT_INC(sf_iocnt);
 		SFSTAT_ADD(sf_pages_read, count);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908061611.x76GB0ul004230>