diff options
author | kib <kib@FreeBSD.org> | 2011-11-30 17:39:00 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2011-11-30 17:39:00 +0000 |
commit | d326d5565d29f6c883c23618b8168e3a18585cfe (patch) | |
tree | b86fd6fc85cd5c533be5bedacc703e8798e2fdde /sys/fs/smbfs | |
parent | b1d2a50084631bf8afff5cccc143f8b4de8d8a85 (diff) | |
download | FreeBSD-src-d326d5565d29f6c883c23618b8168e3a18585cfe.zip FreeBSD-src-d326d5565d29f6c883c23618b8168e3a18585cfe.tar.gz |
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
Diffstat (limited to 'sys/fs/smbfs')
-rw-r--r-- | sys/fs/smbfs/smbfs_io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/smbfs/smbfs_io.c b/sys/fs/smbfs/smbfs_io.c index 4599a6f..d4a4262 100644 --- a/sys/fs/smbfs/smbfs_io.c +++ b/sys/fs/smbfs/smbfs_io.c @@ -509,7 +509,7 @@ smbfs_getpages(ap) * Read operation filled a partial page. */ m->valid = 0; - vm_page_set_valid(m, 0, size - toff); + vm_page_set_valid_range(m, 0, size - toff); KASSERT(m->dirty == 0, ("smbfs_getpages: page %p is dirty", m)); } else { |