diff options
author | Konstantin Belousov <kib@FreeBSD.org> | 2017-04-05 16:45:00 +0000 |
---|---|---|
committer | Konstantin Belousov <kib@FreeBSD.org> | 2017-04-05 16:45:00 +0000 |
commit | 3dbb0ca64602973e29db1be7b94f37e9d9ba5a75 (patch) | |
tree | 8bfe037efe00ef74a0d7fbf9ebe2f4d2f9e5c696 | |
parent | 53b6404819afa237c9bdcf5d6ec59c0574d21fe2 (diff) | |
download | src-3dbb0ca64602973e29db1be7b94f37e9d9ba5a75.tar.gz src-3dbb0ca64602973e29db1be7b94f37e9d9ba5a75.zip |
Some style fixes for vnode_pager_generic_putpages(), in the local
declaration block.
Reviewed by: markj (as part of the larger patch)
Tested by: pho (as part of the larger patch)
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
X-Differential revision: https://reviews.freebsd.org/D10241
Notes
Notes:
svn path=/head/; revision=316525
-rw-r--r-- | sys/vm/vnode_pager.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/sys/vm/vnode_pager.c b/sys/vm/vnode_pager.c index 2368fc2073a2..0f3457e89cd7 100644 --- a/sys/vm/vnode_pager.c +++ b/sys/vm/vnode_pager.c @@ -1193,18 +1193,12 @@ int vnode_pager_generic_putpages(struct vnode *vp, vm_page_t *ma, int bytecount, int flags, int *rtvals) { - int i; vm_object_t object; vm_page_t m; - int count; - - int maxsize, ncount; vm_ooffset_t poffset; struct uio auio; struct iovec aiov; - int error; - int ioflags; - int ppscheck = 0; + int count, error, i, ioflags, maxsize, ncount, ppscheck; static struct timeval lastfail; static int curfail; @@ -1300,6 +1294,7 @@ vnode_pager_generic_putpages(struct vnode *vp, vm_page_t *ma, int bytecount, PCPU_INC(cnt.v_vnodeout); PCPU_ADD(cnt.v_vnodepgsout, ncount); + ppscheck = 0; if (error) { if ((ppscheck = ppsratecheck(&lastfail, &curfail, 1))) printf("vnode_pager_putpages: I/O error %d\n", error); |