Make vm_object_vndeallocate() static. The external calls to it were
eliminated in ufs/ffs/ffs_vnops.c's revision 1.125.
This commit is contained in:
parent
a7424435f6
commit
a880fbca84
@ -110,6 +110,7 @@ SYSCTL_INT(_vm, OID_AUTO, old_msync, CTLFLAG_RW, &old_msync, 0,
|
||||
|
||||
static void vm_object_qcollapse(vm_object_t object);
|
||||
static int vm_object_page_collect_flush(vm_object_t object, vm_page_t p, int curgeneration, int pagerflags);
|
||||
static void vm_object_vndeallocate(vm_object_t object);
|
||||
|
||||
/*
|
||||
* Virtual memory objects maintain the actual data
|
||||
@ -390,7 +391,7 @@ vm_object_reference_locked(vm_object_t object)
|
||||
/*
|
||||
* Handle deallocating an object of type OBJT_VNODE.
|
||||
*/
|
||||
void
|
||||
static void
|
||||
vm_object_vndeallocate(vm_object_t object)
|
||||
{
|
||||
struct vnode *vp = (struct vnode *) object->handle;
|
||||
|
@ -201,7 +201,6 @@ boolean_t vm_object_coalesce(vm_object_t, vm_ooffset_t, vm_size_t, vm_size_t);
|
||||
void vm_object_collapse (vm_object_t);
|
||||
void vm_object_deallocate (vm_object_t);
|
||||
void vm_object_terminate (vm_object_t);
|
||||
void vm_object_vndeallocate (vm_object_t);
|
||||
void vm_object_set_writeable_dirty (vm_object_t);
|
||||
void vm_object_init (void);
|
||||
void vm_object_page_clean (vm_object_t, vm_pindex_t, vm_pindex_t, boolean_t);
|
||||
|
Loading…
Reference in New Issue
Block a user