summaryrefslogtreecommitdiff
path: root/sys/uvm/uvm_bio.c
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-12-10 02:19:35 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-12-10 02:19:35 +0000
commitb1d070269012496fc9ea43ab62f9f6d4c6855c86 (patch)
treeaf8fabc460253582a3035edc55928b90b5ff6cf7 /sys/uvm/uvm_bio.c
parentba38727131150bb5ee5ae61df8d315ded024e57d (diff)
Merge in struct uvm_vnode into struct vnode.
Diffstat (limited to 'sys/uvm/uvm_bio.c')
-rw-r--r--sys/uvm/uvm_bio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/uvm/uvm_bio.c b/sys/uvm/uvm_bio.c
index ba119958317..f6ce9852451 100644
--- a/sys/uvm/uvm_bio.c
+++ b/sys/uvm/uvm_bio.c
@@ -262,12 +262,12 @@ again:
UVMHIST_LOG(ubchist, "slot_offset 0x%x writeoff 0x%x writelen 0x%x "
"u_size 0x%x", slot_offset, umap->writeoff, umap->writelen,
- vp->v_uvm.u_size);
+ vp->v_size);
if (access_type & VM_PROT_WRITE &&
slot_offset >= umap->writeoff &&
(slot_offset + PAGE_SIZE <= umap->writeoff + umap->writelen ||
- slot_offset + PAGE_SIZE >= vp->v_uvm.u_size - umap->offset)) {
+ slot_offset + PAGE_SIZE >= vp->v_size - umap->offset)) {
UVMHIST_LOG(ubchist, "setting PGO_OVERWRITE", 0,0,0,0);
flags |= PGO_OVERWRITE;
}
@@ -379,7 +379,7 @@ ubc_alloc(uobj, offset, lenp, flags)
UVMHIST_FUNC("ubc_alloc"); UVMHIST_CALLED(ubchist);
UVMHIST_LOG(ubchist, "uobj %p offset 0x%lx len 0x%lx filesize 0x%x",
- uobj, offset, *lenp, ((struct uvm_vnode *)uobj)->u_size);
+ uobj, offset, *lenp, ((struct vnode *)vp)->v_size);
umap_offset = (offset & ~((voff_t)ubc_winsize - 1));
slot_offset = (vaddr_t)(offset & ((voff_t)ubc_winsize - 1));