svn commit: r303446 - head/sys/vm

Konstantin Belousov kib at FreeBSD.org
Thu Jul 28 15:49:53 UTC 2016


Author: kib
Date: Thu Jul 28 15:49:51 2016
New Revision: 303446
URL: https://svnweb.freebsd.org/changeset/base/303446

Log:
  Fix style and typo.
  
  Sponsored by:	The FreeBSD Foundation
  MFC after:	1 week

Modified:
  head/sys/vm/swap_pager.c

Modified: head/sys/vm/swap_pager.c
==============================================================================
--- head/sys/vm/swap_pager.c	Thu Jul 28 15:33:19 2016	(r303445)
+++ head/sys/vm/swap_pager.c	Thu Jul 28 15:49:51 2016	(r303446)
@@ -390,8 +390,8 @@ static int dmmax;
 static int nswap_lowat = 128;	/* in pages, swap_pager_almost_full warn */
 static int nswap_hiwat = 512;	/* in pages, swap_pager_almost_full warn */
 
-SYSCTL_INT(_vm, OID_AUTO, dmmax,
-	CTLFLAG_RD, &dmmax, 0, "Maximum size of a swap block");
+SYSCTL_INT(_vm, OID_AUTO, dmmax, CTLFLAG_RD, &dmmax, 0,
+    "Maximum size of a swap block");
 
 static void	swp_sizecheck(void);
 static void	swp_pager_async_iodone(struct buf *bp);
@@ -2432,7 +2432,7 @@ swapgeom_acquire(struct g_consumer *cp)
 
 /*
  * Remove a reference from the g_consumer. Post a close event if
- * all referneces go away.
+ * all references go away.
  */
 static void
 swapgeom_release(struct g_consumer *cp, struct swdevt *sp)
@@ -2598,7 +2598,7 @@ swapongeom_ev(void *arg, int flags)
 	if (gp == NULL)
 		gp = g_new_geomf(&g_swap_class, "swap");
 	cp = g_new_consumer(gp);
-	cp->index = 1;		/* Number of active I/Os, plus one for being active. */
+	cp->index = 1;	/* Number of active I/Os, plus one for being active. */
 	cp->flags |=  G_CF_DIRECT_SEND | G_CF_DIRECT_RECEIVE;
 	g_attach(cp, pp);
 	/*


More information about the svn-src-head mailing list