summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/kern/vfs_bio.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c
index 63ad407..65e9460 100644
--- a/sys/kern/vfs_bio.c
+++ b/sys/kern/vfs_bio.c
@@ -2946,7 +2946,6 @@ allocbuf(struct buf *bp, int size)
* We are growing the buffer, possibly in a
* byte-granular fashion.
*/
- struct vnode *vp;
vm_object_t obj;
vm_offset_t toff;
vm_offset_t tinc;
@@ -2958,7 +2957,6 @@ allocbuf(struct buf *bp, int size)
* range covered by the buffer.
*/
- vp = bp->b_vp;
obj = bp->b_bufobj->bo_object;
VM_OBJECT_LOCK(obj);
@@ -3762,7 +3760,6 @@ tryagain:
VM_WAIT;
goto tryagain;
}
- p->valid = VM_PAGE_BITS_ALL;
pmap_qenter(pg, &p, 1);
bp->b_pages[index] = p;
}
OpenPOWER on IntegriCloud