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
This commit is contained in:
parent
53b6404819
commit
3dbb0ca646
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=316525
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user