Date: Mon, 24 Nov 2014 07:57:21 +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: r274948 - head/sys/vm Message-ID: <201411240757.sAO7vL2p091685@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: glebius Date: Mon Nov 24 07:57:20 2014 New Revision: 274948 URL: https://svnweb.freebsd.org/changeset/base/274948 Log: We already have "int i" in this scope. Submitted by: alc Modified: head/sys/vm/vnode_pager.c Modified: head/sys/vm/vnode_pager.c ============================================================================== --- head/sys/vm/vnode_pager.c Mon Nov 24 07:57:18 2014 (r274947) +++ head/sys/vm/vnode_pager.c Mon Nov 24 07:57:20 2014 (r274948) @@ -994,7 +994,7 @@ vnode_pager_generic_getpages(struct vnod bstrategy(bp); bwait(bp, PVM, "vnread"); error = vnode_pager_generic_getpages_done(bp); - for (int i = 0; i < bp->b_npages; i++) + for (i = 0; i < bp->b_npages; i++) bp->b_pages[i] = NULL; bp->b_vp = NULL; pbrelbo(bp);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201411240757.sAO7vL2p091685>