Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Apr 2017 16:30:41 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r316524 - head/sys/vm
Message-ID:  <201704051630.v35GUfB5053005@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Wed Apr  5 16:30:41 2017
New Revision: 316524
URL: https://svnweb.freebsd.org/changeset/base/316524

Log:
  Use int instead of boolean_t for flags argument type in
  vnode_pager_generic_putpages() prototype; change the argument name to
  reflect that it is flags.
  
  Reviewed by:	markj
  Tested by:	pho
  Sponsored by:	The FreeBSD Foundation
  MFC after:	1 week
  X-Differential revision:	https://reviews.freebsd.org/D10241

Modified:
  head/sys/vm/vnode_pager.h

Modified: head/sys/vm/vnode_pager.h
==============================================================================
--- head/sys/vm/vnode_pager.h	Wed Apr  5 16:13:36 2017	(r316523)
+++ head/sys/vm/vnode_pager.h	Wed Apr  5 16:30:41 2017	(r316524)
@@ -44,8 +44,7 @@ int vnode_pager_generic_getpages(struct 
     int count, int *rbehind, int *rahead, vop_getpages_iodone_t iodone,
     void *arg);
 int vnode_pager_generic_putpages(struct vnode *vp, vm_page_t *m,
-					  int count, boolean_t sync,
-					  int *rtvals);
+    int count, int flags, int *rtvals);
 int vnode_pager_local_getpages(struct vop_getpages_args *ap);
 int vnode_pager_local_getpages_async(struct vop_getpages_async_args *ap);
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201704051630.v35GUfB5053005>