svn commit: r357147 - head/sys/kern

John Baldwin jhb at FreeBSD.org
Sun Jan 26 14:23:28 UTC 2020


Author: jhb
Date: Sun Jan 26 14:23:27 2020
New Revision: 357147
URL: https://svnweb.freebsd.org/changeset/base/357147

Log:
  Revert accidental change from r357146.

Modified:
  head/sys/kern/subr_stats.c

Modified: head/sys/kern/subr_stats.c
==============================================================================
--- head/sys/kern/subr_stats.c	Sun Jan 26 14:20:57 2020	(r357146)
+++ head/sys/kern/subr_stats.c	Sun Jan 26 14:23:27 2020	(r357147)
@@ -1583,7 +1583,9 @@ stats_v1_blob_iter(struct statsblobv1 *sb, stats_v1_bl
 	int i, j, firstvoi;
 
 	ctx.usrctx = usrctx;
-	ctx.flags = SB_IT_FIRST_CB;
+	ctx.flags |= SB_IT_FIRST_CB;
+	ctx.flags &= ~(SB_IT_FIRST_VOI | SB_IT_LAST_VOI | SB_IT_FIRST_VOISTAT |
+	    SB_IT_LAST_VOISTAT);
 	firstvoi = 1;
 
 	for (i = 0; i < NVOIS(sb); i++) {


More information about the svn-src-head mailing list