summaryrefslogtreecommitdiffstats
path: root/sys/vm/vnode_pager.h
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2005-01-24 21:21:59 +0000
committerphk <phk@FreeBSD.org>2005-01-24 21:21:59 +0000
commitba85bee696d6a33157d344e44d2daa40fb97d1ce (patch)
tree80a0f152ec73d01cf5ba4fbcc7e5412b3905b22a /sys/vm/vnode_pager.h
parente0b285228ae30d4d239447d3dd54918c144d7959 (diff)
downloadFreeBSD-src-ba85bee696d6a33157d344e44d2daa40fb97d1ce.zip
FreeBSD-src-ba85bee696d6a33157d344e44d2daa40fb97d1ce.tar.gz
Move the body of vop_stdcreatevobject() over to the vnode_pager under
the name Sande^H^H^H^H^Hvnode_create_vobject(). Make the new function take a size argument which removes the need for a VOP_STAT() or a very pessimistic guess for disks. Call that new function from vop_stdcreatevobject(). Make vnode_pager_alloc() private now that its only user came home.
Diffstat (limited to 'sys/vm/vnode_pager.h')
-rw-r--r--sys/vm/vnode_pager.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/vm/vnode_pager.h b/sys/vm/vnode_pager.h
index 45fb067..aa9be03 100644
--- a/sys/vm/vnode_pager.h
+++ b/sys/vm/vnode_pager.h
@@ -39,7 +39,6 @@
#define _VNODE_PAGER_ 1
#ifdef _KERNEL
-vm_object_t vnode_pager_alloc(void *, vm_ooffset_t, vm_prot_t, vm_ooffset_t);
struct vnode *vnode_pager_lock(vm_object_t);
/*
OpenPOWER on IntegriCloud