Date: Tue, 17 Mar 1998 15:57:39 +0900 (JST) From: Michael Hancock <michaelh@cet.co.jp> To: Karl Denninger <karl@mcs.net> Cc: Daniel Berlin <root@danberlin.resnet.rochester.edu>, current@FreeBSD.ORG, dyson@FreeBSD.ORG Subject: Re: WARNING WILL ROBINSON! Risk of severe filesystem damage suspected Message-ID: <Pine.SV4.3.95.980317155553.9759A-100000@parkplace.cet.co.jp> In-Reply-To: <19980317005403.27423@mcs.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SV4.3.95.980317155553.9759A-100000>
