Make swaponvp() static to the swap_pager.
This commit is contained in:
parent
0bddf4c8e9
commit
89dc784fa3
@ -254,6 +254,7 @@ SYSCTL_INT(_vm, OID_AUTO, dmmax,
|
||||
static void swp_sizecheck(void);
|
||||
static void swp_pager_sync_iodone(struct buf *bp);
|
||||
static void swp_pager_async_iodone(struct buf *bp);
|
||||
static int swaponvp(struct thread *, struct vnode *, dev_t , u_long);
|
||||
|
||||
/*
|
||||
* Swap bitmap functions
|
||||
@ -2142,7 +2143,7 @@ done2:
|
||||
return (error);
|
||||
}
|
||||
|
||||
int
|
||||
static int
|
||||
swaponvp(td, vp, dev, nblks)
|
||||
struct thread *td;
|
||||
struct vnode *vp;
|
||||
|
@ -70,7 +70,6 @@ void kmem_init(vm_offset_t, vm_offset_t);
|
||||
vm_offset_t kmem_malloc(vm_map_t, vm_size_t, boolean_t);
|
||||
vm_map_t kmem_suballoc(vm_map_t, vm_offset_t *, vm_offset_t *, vm_size_t);
|
||||
void munmapfd(struct thread *, int);
|
||||
int swaponvp(struct thread *, struct vnode *, dev_t , u_long);
|
||||
void swapout_procs(int);
|
||||
int useracc(void *, int, int);
|
||||
int vm_fault(vm_map_t, vm_offset_t, vm_prot_t, int);
|
||||
|
Loading…
x
Reference in New Issue
Block a user