aboutsummaryrefslogtreecommitdiff
path: root/sys/vm/vnode_pager.c
diff options
context:
space:
mode:
authorAlan Cox <alc@FreeBSD.org>2002-11-10 07:12:04 +0000
committerAlan Cox <alc@FreeBSD.org>2002-11-10 07:12:04 +0000
commitd154fb4fe66d98a7ea9f6e1bc7d1fa698c143c04 (patch)
treec2353317d021437c05c64b489549bbc567f14a5c /sys/vm/vnode_pager.c
parentf5464126bb613df8c841ffda4efed10f2303280e (diff)
Notes
Diffstat (limited to 'sys/vm/vnode_pager.c')
-rw-r--r--sys/vm/vnode_pager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/vm/vnode_pager.c b/sys/vm/vnode_pager.c
index 1583d4a216d4..87826843c7e9 100644
--- a/sys/vm/vnode_pager.c
+++ b/sys/vm/vnode_pager.c
@@ -348,7 +348,7 @@ vnode_pager_setsize(vp, nsize)
* XXX should vm_pager_unmap_page() have
* dealt with this?
*/
- vm_page_protect(m, VM_PROT_NONE);
+ pmap_page_protect(m, VM_PROT_NONE);
/*
* Clear out partial-page dirty bits. This