Date: Thu, 28 Jul 2016 15:49:52 +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: r303446 - head/sys/vm Message-ID: <201607281549.u6SFnqQK016697@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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); /*
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201607281549.u6SFnqQK016697>