aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/uipc_shm.c
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2011-11-30 17:39:00 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2011-11-30 17:39:00 +0000
commitdc874f9881bd4c5f14f1072e02bf8da4fbc6dcd5 (patch)
treeb86fd6fc85cd5c533be5bedacc703e8798e2fdde /sys/kern/uipc_shm.c
parentd28e8f62e845fc2fdaca1913da2d9ed4aeb025ba (diff)
downloadsrc-dc874f9881bd4c5f14f1072e02bf8da4fbc6dcd5.tar.gz
src-dc874f9881bd4c5f14f1072e02bf8da4fbc6dcd5.zip
Rename vm_page_set_valid() to vm_page_set_valid_range().
The vm_page_set_valid() is the most reasonable name for the m->valid accessor. Reviewed by: attilio, alc
Notes
Notes: svn path=/head/; revision=228156
Diffstat (limited to 'sys/kern/uipc_shm.c')
-rw-r--r--sys/kern/uipc_shm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/uipc_shm.c b/sys/kern/uipc_shm.c
index 8469f67d0d32..3a639fbaff34 100644
--- a/sys/kern/uipc_shm.c
+++ b/sys/kern/uipc_shm.c
@@ -301,7 +301,7 @@ shm_dotruncate(struct shmfd *shmfd, off_t length)
* have been zeroed. Some of these valid bits may
* have already been set.
*/
- vm_page_set_valid(m, base, size);
+ vm_page_set_valid_range(m, base, size);
/*
* Round "base" to the next block boundary so that the