diff options
| author | John Dyson <dyson@FreeBSD.org> | 1995-10-19 23:48:25 +0000 |
|---|---|---|
| committer | John Dyson <dyson@FreeBSD.org> | 1995-10-19 23:48:25 +0000 |
| commit | 6d875bf5263883de519ec1fffcb24378fc75fec3 (patch) | |
| tree | b34e0920c57f7b68e2fcbadc3fdb688465da04b5 /sys | |
| parent | eed2d59b2557712a96d2f888cf86e3a1575e4a73 (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/kern/vfs_bio.c | 6 |
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; |
