Author: kib Date: Wed Mar 20 09:44:23 2013 New Revision: 248550 URL: http://svnweb.freebsd.org/changeset/base/248550
Log: Fix the logic inversion in the r248512. Noted by: mckay Modified: head/sys/vm/vnode_pager.c Modified: head/sys/vm/vnode_pager.c ============================================================================== --- head/sys/vm/vnode_pager.c Wed Mar 20 09:12:28 2013 (r248549) +++ head/sys/vm/vnode_pager.c Wed Mar 20 09:44:23 2013 (r248550) @@ -947,7 +947,7 @@ vnode_pager_generic_getpages(vp, m, byte if ((bp->b_ioflags & BIO_ERROR) != 0) error = EIO; - if (error != 0 && size != count * PAGE_SIZE) { + if (error == 0 && size != count * PAGE_SIZE) { if ((bp->b_flags & B_UNMAPPED) != 0) { bp->b_flags &= ~B_UNMAPPED; pmap_qenter(kva, m, count); _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"