Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Feb 2023 19:31:13 GMT
From:      Mateusz Guzik <mjg@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 1ebec3806eed - main - vfs: s/ppsratecheck/eventratecheck
Message-ID:  <202302241931.31OJVDNW076991@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by mjg:

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

commit 1ebec3806eed27f2f1ddba1960c1fef905befeb0
Author:     Mateusz Guzik <mjg@FreeBSD.org>
AuthorDate: 2023-02-24 19:30:49 +0000
Commit:     Mateusz Guzik <mjg@FreeBSD.org>
CommitDate: 2023-02-24 19:30:49 +0000

    vfs: s/ppsratecheck/eventratecheck
    
    nfc
---
 sys/kern/vfs_mountroot.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys/kern/vfs_mountroot.c b/sys/kern/vfs_mountroot.c
index 3c506378ad2f..79019c4bbc8e 100644
--- a/sys/kern/vfs_mountroot.c
+++ b/sys/kern/vfs_mountroot.c
@@ -987,7 +987,7 @@ vfs_mountroot_wait(void)
 
 	curfail = 0;
 	lastfail.tv_sec = 0;
-	ppsratecheck(&lastfail, &curfail, 1);
+	eventratecheck(&lastfail, &curfail, 1);
 	td = curthread;
 	while (1) {
 		g_waitidle(td);
@@ -996,7 +996,7 @@ vfs_mountroot_wait(void)
 			mtx_unlock(&root_holds_mtx);
 			break;
 		}
-		if (ppsratecheck(&lastfail, &curfail, 1)) {
+		if (eventratecheck(&lastfail, &curfail, 1)) {
 			printf("Root mount waiting for:");
 			TAILQ_FOREACH(h, &root_holds, list)
 				printf(" %s", h->who);



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