git: 1a644e8b68be - stable/14 - vfs: s/u_long vstir/bool vstir/

From: Mateusz Guzik <mjg_at_FreeBSD.org>
Date: Fri, 22 Sep 2023 21:51:23 UTC
The branch stable/14 has been updated by mjg:

URL: https://cgit.FreeBSD.org/src/commit/?id=1a644e8b68bef9b207eea67ccec190c7ccd26a39

commit 1a644e8b68bef9b207eea67ccec190c7ccd26a39
Author:     Mateusz Guzik <mjg@FreeBSD.org>
AuthorDate: 2023-09-16 08:19:24 +0000
Commit:     Mateusz Guzik <mjg@FreeBSD.org>
CommitDate: 2023-09-22 21:50:48 +0000

    vfs: s/u_long vstir/bool vstir/
    
    (cherry picked from commit 509d843a982b39a531a558c65794ffffcdf93ae8)
---
 sys/kern/vfs_subr.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c
index a8477e4b691e..9d5b1b7e472e 100644
--- a/sys/kern/vfs_subr.c
+++ b/sys/kern/vfs_subr.c
@@ -325,7 +325,7 @@ u_long desiredvnodes;
 static u_long gapvnodes;		/* gap between wanted and desired */
 static u_long vhiwat;		/* enough extras after expansion */
 static u_long vlowat;		/* minimal extras before expansion */
-static u_long vstir;		/* nonzero to stir non-free vnodes */
+static bool vstir;		/* nonzero to stir non-free vnodes */
 static volatile int vsmalltrigger = 8;	/* pref to keep if > this many pages */
 
 static u_long vnlru_read_freevnodes(void);
@@ -1627,7 +1627,7 @@ vnlru_proc(void)
 		 */
 		if (vstir && force == 0) {
 			force = 1;
-			vstir = 0;
+			vstir = false;
 		}
 		if (force == 0 && !vnlru_under(rnumvnodes, vlowat)) {
 			vnlruproc_sig = 0;
@@ -1799,7 +1799,7 @@ vn_alloc_hard(struct mount *mp)
 	rfreevnodes = vnlru_read_freevnodes();
 	if (vn_alloc_cyclecount++ >= rfreevnodes) {
 		vn_alloc_cyclecount = 0;
-		vstir = 1;
+		vstir = true;
 	}
 	/*
 	 * Grow the vnode cache if it will not be above its target max