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

This commit is contained in:
Gleb Smirnoff 2019-08-06 16:11:00 +00:00
parent 54e9e4e72d
commit 814f33aafb

View File

@ -392,8 +392,6 @@ sendfile_swapin(vm_object_t obj, struct sf_io *sfio, int *nios, off_t off,
VM_OBJECT_WUNLOCK(obj); VM_OBJECT_WUNLOCK(obj);
return (EIO); return (EIO);
} }
KASSERT(rv == VM_PAGER_OK, ("%s: pager fail obj %p page %p",
__func__, obj, pa[i]));
SFSTAT_INC(sf_iocnt); SFSTAT_INC(sf_iocnt);
SFSTAT_ADD(sf_pages_read, count); SFSTAT_ADD(sf_pages_read, count);