From owner-freebsd-current Mon Mar 16 22:58:34 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA15598 for freebsd-current-outgoing; Mon, 16 Mar 1998 22:58:34 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from parkplace.cet.co.jp (parkplace.cet.co.jp [202.32.64.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA15589; Mon, 16 Mar 1998 22:58:29 -0800 (PST) (envelope-from michaelh@cet.co.jp) Received: from localhost (michaelh@localhost) by parkplace.cet.co.jp (8.8.8/CET-v2.2) with SMTP id GAA09771; Tue, 17 Mar 1998 06:57:39 GMT Date: Tue, 17 Mar 1998 15:57:39 +0900 (JST) From: Michael Hancock To: Karl Denninger cc: Daniel Berlin , current@FreeBSD.ORG, dyson@FreeBSD.ORG Subject: Re: WARNING WILL ROBINSON! Risk of severe filesystem damage suspected In-Reply-To: <19980317005403.27423@mcs.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG John, Is this what you meant? Mike Index: vfs_bio.c =================================================================== RCS file: /usr/cvs/src/sys/kern/vfs_bio.c,v retrieving revision 1.156 diff -u -r1.156 vfs_bio.c --- vfs_bio.c 1998/03/16 01:55:22 1.156 +++ vfs_bio.c 1998/03/17 06:03:47 @@ -676,7 +676,7 @@ break; } if (bp->b_flags & (B_NOCACHE|B_ERROR)) { - int poffset = foff & PAGE_MASK; + int poffset = poff & PAGE_MASK; int presid = resid > (PAGE_SIZE - poffset) ? (PAGE_SIZE - poffset) : resid; vm_page_set_invalid(m, poffset, presid); To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message