Fix mis-spelling of bits and types names in the
default_pager_putpages() and swap_pager_putpages(). It is the same fix as was done for vnode_pager_putpages() in r271586. Reviewed by: alc Sponsored by: The FreeBSD Foundation MFC after: 1 week
This commit is contained in:
parent
5e929009d2
commit
e065e87c1e
@ -137,14 +137,11 @@ default_pager_getpages(object, m, count, reqpage)
|
||||
* cache to the free list.
|
||||
*/
|
||||
static void
|
||||
default_pager_putpages(object, m, c, sync, rtvals)
|
||||
vm_object_t object;
|
||||
vm_page_t *m;
|
||||
int c;
|
||||
boolean_t sync;
|
||||
int *rtvals;
|
||||
default_pager_putpages(vm_object_t object, vm_page_t *m, int count,
|
||||
int flags, int *rtvals)
|
||||
{
|
||||
swappagerops.pgo_putpages(object, m, c, sync, rtvals);
|
||||
|
||||
swappagerops.pgo_putpages(object, m, count, flags, rtvals);
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -1280,10 +1280,10 @@ swap_pager_getpages(vm_object_t object, vm_page_t *m, int count, int reqpage)
|
||||
*/
|
||||
void
|
||||
swap_pager_putpages(vm_object_t object, vm_page_t *m, int count,
|
||||
boolean_t sync, int *rtvals)
|
||||
int flags, int *rtvals)
|
||||
{
|
||||
int i;
|
||||
int n = 0;
|
||||
int i, n;
|
||||
boolean_t sync;
|
||||
|
||||
if (count && m[0]->object != object) {
|
||||
panic("swap_pager_putpages: object mismatch %p/%p",
|
||||
@ -1303,8 +1303,11 @@ swap_pager_putpages(vm_object_t object, vm_page_t *m, int count,
|
||||
swp_pager_meta_build(object, 0, SWAPBLK_NONE);
|
||||
VM_OBJECT_WUNLOCK(object);
|
||||
|
||||
n = 0;
|
||||
if (curproc != pageproc)
|
||||
sync = TRUE;
|
||||
else
|
||||
sync = (flags & VM_PAGER_PUT_SYNC) != 0;
|
||||
|
||||
/*
|
||||
* Step 2
|
||||
|
Loading…
Reference in New Issue
Block a user