Change *_pager_allocate() to take off_t instead of vm_ooffset_t. The
authorMatthew Dillon <dillon@dragonflybsd.org>
Mon, 27 Mar 2006 01:54:18 +0000 (01:54 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Mon, 27 Mar 2006 01:54:18 +0000 (01:54 +0000)
commit57f7b636ec451b2063cb3c4c10d3c25db6430fa2
treec1ad4ed7819f672f22b77dc41c722b491e195c31
parentc2cd059b85aac0d4ec264ea78eec540846695821
Change *_pager_allocate() to take off_t instead of vm_ooffset_t.  The
actual underlying type (a 64 bit signed integer) is the same.   Recent and
upcoming work is standardizing on off_t.

Move object->un_pager.vnp.vnp_size to vnode->v_filesize.  As before, the
field is still only valid when a VM object is associated with the vnode.
22 files changed:
sys/dev/disk/vn/vn.c
sys/kern/imgact_elf.c
sys/kern/sysv_shm.c
sys/kern/uipc_syscalls.c
sys/kern/vfs_lock.c
sys/sys/vnode.h
sys/vfs/isofs/cd9660/cd9660_vfsops.c
sys/vfs/nfs/nfs_node.c
sys/vfs/portal/portal_vnops.c
sys/vfs/ufs/ufs_readwrite.c
sys/vfs/ufs/ufs_vnops.c
sys/vm/default_pager.c
sys/vm/device_pager.c
sys/vm/phys_pager.c
sys/vm/swap_pager.c
sys/vm/vm_map.c
sys/vm/vm_mmap.c
sys/vm/vm_object.h
sys/vm/vm_pager.c
sys/vm/vm_pager.h
sys/vm/vnode_pager.c
sys/vm/vnode_pager.h