git: 067133ad6024 - stable/13 - vfs: retire kern.minvnodes

From: Mateusz Guzik <mjg_at_FreeBSD.org>
Date: Wed, 04 Oct 2023 12:08:54 UTC
The branch stable/13 has been updated by mjg:

URL: https://cgit.FreeBSD.org/src/commit/?id=067133ad6024f5d41ed7fa34009a6bbf6b4ffc7c

commit 067133ad6024f5d41ed7fa34009a6bbf6b4ffc7c
Author:     Mateusz Guzik <mjg@FreeBSD.org>
AuthorDate: 2023-09-16 07:33:36 +0000
Commit:     Mateusz Guzik <mjg@FreeBSD.org>
CommitDate: 2023-10-04 12:04:16 +0000

    vfs: retire kern.minvnodes
    
    It was marked as legacy in 2005.
    
    (cherry picked from commit 2a689cadf092a3319d7619c3f4aa242011c20c8e)
---
 sys/kern/vfs_subr.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c
index 2fc5c1ef7a91..c41798c56e18 100644
--- a/sys/kern/vfs_subr.c
+++ b/sys/kern/vfs_subr.c
@@ -384,8 +384,6 @@ SYSCTL_PROC(_vfs, OID_AUTO, wantfreevnodes,
     CTLTYPE_ULONG | CTLFLAG_MPSAFE | CTLFLAG_RW, NULL, 0, sysctl_wantfreevnodes,
     "LU", "Target for minimum number of \"free\" vnodes");
 
-SYSCTL_ULONG(_kern, OID_AUTO, minvnodes, CTLFLAG_RW,
-    &wantfreevnodes, 0, "Old name for vfs.wantfreevnodes (legacy)");
 static int vnlru_nowhere;
 SYSCTL_INT(_debug, OID_AUTO, vnlru_nowhere, CTLFLAG_RW,
     &vnlru_nowhere, 0, "Number of times the vnlru process ran without success");