aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJohn Dyson <dyson@FreeBSD.org>1995-10-19 23:48:25 +0000
committerJohn Dyson <dyson@FreeBSD.org>1995-10-19 23:48:25 +0000
commit6d875bf5263883de519ec1fffcb24378fc75fec3 (patch)
treeb34e0920c57f7b68e2fcbadc3fdb688465da04b5 /sys
parenteed2d59b2557712a96d2f888cf86e3a1575e4a73 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/vfs_bio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c
index 832918f0d322..d9c644cdeab8 100644
--- a/sys/kern/vfs_bio.c
+++ b/sys/kern/vfs_bio.c
@@ -18,7 +18,7 @@
* 5. Modifications may be freely made to this file if the above conditions
* are met.
*
- * $Id: vfs_bio.c,v 1.65 1995/10/01 05:50:27 davidg Exp $
+ * $Id: vfs_bio.c,v 1.66 1995/10/08 00:06:08 swallace Exp $
*/
/*
@@ -915,7 +915,7 @@ loop:
if (szleft > PAGE_SIZE) {
if ((bp->b_pages[i]->valid & VM_PAGE_BITS_ALL) !=
VM_PAGE_BITS_ALL) {
- bp->b_flags &= ~B_CACHE;
+ bp->b_flags &= ~(B_CACHE|B_DONE);
break;
}
szleft -= PAGE_SIZE;
@@ -923,7 +923,7 @@ loop:
if (!vm_page_is_valid(bp->b_pages[i],
(((vm_offset_t) bp->b_data) & PAGE_MASK),
szleft)) {
- bp->b_flags &= ~B_CACHE;
+ bp->b_flags &= ~(B_CACHE|B_DONE);
break;
}
szleft = 0;