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:
Konstantin Belousov 2014-11-04 19:56:04 +00:00
parent 5e929009d2
commit e065e87c1e
2 changed files with 10 additions and 10 deletions

View File

@ -137,14 +137,11 @@ default_pager_getpages(object, m, count, reqpage)
* cache to the free list. * cache to the free list.
*/ */
static void static void
default_pager_putpages(object, m, c, sync, rtvals) default_pager_putpages(vm_object_t object, vm_page_t *m, int count,
vm_object_t object; int flags, int *rtvals)
vm_page_t *m;
int c;
boolean_t sync;
int *rtvals;
{ {
swappagerops.pgo_putpages(object, m, c, sync, rtvals);
swappagerops.pgo_putpages(object, m, count, flags, rtvals);
} }
/* /*

View File

@ -1280,10 +1280,10 @@ swap_pager_getpages(vm_object_t object, vm_page_t *m, int count, int reqpage)
*/ */
void void
swap_pager_putpages(vm_object_t object, vm_page_t *m, int count, 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 i, n;
int n = 0; boolean_t sync;
if (count && m[0]->object != object) { if (count && m[0]->object != object) {
panic("swap_pager_putpages: object mismatch %p/%p", 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); swp_pager_meta_build(object, 0, SWAPBLK_NONE);
VM_OBJECT_WUNLOCK(object); VM_OBJECT_WUNLOCK(object);
n = 0;
if (curproc != pageproc) if (curproc != pageproc)
sync = TRUE; sync = TRUE;
else
sync = (flags & VM_PAGER_PUT_SYNC) != 0;
/* /*
* Step 2 * Step 2