Module Name: src Committed By: uebayasi Date: Sun Sep 26 15:18:12 UTC 2010
Modified Files: src/sys/miscfs/genfs [uebayasi-xip]: genfs_io.c Log Message: Minor fixes. To generate a diff of this commit: cvs rdiff -u -r1.36.2.24 -r1.36.2.25 src/sys/miscfs/genfs/genfs_io.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/miscfs/genfs/genfs_io.c diff -u src/sys/miscfs/genfs/genfs_io.c:1.36.2.24 src/sys/miscfs/genfs/genfs_io.c:1.36.2.25 --- src/sys/miscfs/genfs/genfs_io.c:1.36.2.24 Sun Sep 26 07:06:57 2010 +++ src/sys/miscfs/genfs/genfs_io.c Sun Sep 26 15:18:11 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: genfs_io.c,v 1.36.2.24 2010/09/26 07:06:57 uebayasi Exp $ */ +/* $NetBSD: genfs_io.c,v 1.36.2.25 2010/09/26 15:18:11 uebayasi Exp $ */ /* * Copyright (c) 1982, 1986, 1989, 1993 @@ -31,7 +31,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: genfs_io.c,v 1.36.2.24 2010/09/26 07:06:57 uebayasi Exp $"); +__KERNEL_RCSID(0, "$NetBSD: genfs_io.c,v 1.36.2.25 2010/09/26 15:18:11 uebayasi Exp $"); #include "opt_xip.h" @@ -1459,7 +1459,9 @@ int flags, struct vm_page **busypg) { struct uvm_object *uobj = &vp->v_uobj; +#ifdef DIAGNOSTIC struct genfs_node * const gp = VTOG(vp); +#endif UVMHIST_FUNC("genfs_do_putpages_xip"); UVMHIST_CALLED(ubchist); @@ -1487,10 +1489,10 @@ * one file (vnode) has many holes and mapping its zero page to all * of those hole pages. * - * We don't know which pages are currently mapped in the given vp, - * because XIP pages are not added to vnode. What we can is to locate - * pages by querying the filesystem as done in getpages. Call - * genfs_do_getpages_xip(). + * We don't know which pages are currently mapped in the given vnode, + * because XIP pages are not added to vnode. What we can do is to + * locate pages by querying the filesystem as done in getpages. Call + * genfs_do_getpages_xip1(). */ off_t off, eof;