Date: Sun, 5 Dec 2004 22:30:37 GMT From: "Alan L. Cox" <alc@imimic.com> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/73010: [panic] vnode_pager_getpages: unexpected missing page Message-ID: <200412052230.iB5MUbFx010981@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/73010; it has been noted by GNATS. From: "Alan L. Cox" <alc@imimic.com> To: freebsd-gnats-submit@FreeBSD.org, mi@aldan.algebra.com, tegge@freebsd.org Cc: Subject: Re: kern/73010: [panic] vnode_pager_getpages: unexpected missing page Date: Sun, 05 Dec 2004 16:21:24 -0600 This is a multi-part message in MIME format. --------------030908010607090904090701 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Can you please test the attached patch? Thanks, Alan --------------030908010607090904090701 Content-Type: text/plain; name="patch-vnode_pager.c" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="patch-vnode_pager.c" Index: vm/vnode_pager.c =================================================================== RCS file: /home/ncvs/src/sys/vm/vnode_pager.c,v retrieving revision 1.205 diff -u -r1.205 vnode_pager.c --- vm/vnode_pager.c 5 Dec 2004 21:48:11 -0000 1.205 +++ vm/vnode_pager.c 5 Dec 2004 22:17:02 -0000 @@ -398,7 +398,7 @@ int voffset; GIANT_REQUIRED; - if ((int) address < 0) + if ((int64_t)address < 0) return -1; if (vp->v_mount == NULL) --------------030908010607090904090701--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200412052230.iB5MUbFx010981>