diff options
author | smart <smart@cvs.openbsd.org> | 2001-03-22 03:05:58 +0000 |
---|---|---|
committer | smart <smart@cvs.openbsd.org> | 2001-03-22 03:05:58 +0000 |
commit | 80fbdb56b71a03079797681445932c9923f5020e (patch) | |
tree | eb00f62b05e7c379bd5703f4122c0c5ff579cfc7 /sys/uvm/uvm_vnode.c | |
parent | 44b8e549ef87f77e2b48c08e7c4994efeea39676 (diff) |
Sync style, typo, and comments a little closer to NetBSD. art@ ok
Diffstat (limited to 'sys/uvm/uvm_vnode.c')
-rw-r--r-- | sys/uvm/uvm_vnode.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/uvm/uvm_vnode.c b/sys/uvm/uvm_vnode.c index ed0b58afc1f..8219e4faf87 100644 --- a/sys/uvm/uvm_vnode.c +++ b/sys/uvm/uvm_vnode.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_vnode.c,v 1.11 2001/03/08 15:21:38 smart Exp $ */ +/* $OpenBSD: uvm_vnode.c,v 1.12 2001/03/22 03:05:57 smart Exp $ */ /* $NetBSD: uvm_vnode.c,v 1.23 1999/04/11 04:04:11 chs Exp $ */ /* @@ -553,7 +553,7 @@ uvm_vnp_terminate(vp) /* * must be a valid uvn that is not already dying (because XLOCK - * protects us from that). the uvn can't in the the ALOCK state + * protects us from that). the uvn can't in the ALOCK state * because it is valid, and uvn's that are in the ALOCK state haven't * been marked valid yet. */ @@ -1476,7 +1476,7 @@ uvn_get(uobj, offset, pps, npagesp, centeridx, access_type, advice, flags) if ((ptmp->flags & (PG_BUSY|PG_RELEASED)) != 0) { ptmp->flags |= PG_WANTED; UVM_UNLOCK_AND_WAIT(ptmp, - &uobj->vmobjlock, 0, "uvn_get",0); + &uobj->vmobjlock, FALSE, "uvn_get",0); simple_lock(&uobj->vmobjlock); continue; /* goto top of pps while loop */ } @@ -1736,7 +1736,7 @@ uvn_io(uvn, pps, npages, flags, rw) result = EIO; /* XXX: error? */ } else if (got < PAGE_SIZE * npages && rw == UIO_READ) { memset((void *) (kva + got), 0, - (npages << PAGE_SHIFT) - got); + (npages << PAGE_SHIFT) - got); } } |