git: 3c77aabc7396 - stable/14 - kqueue.9: Update the description of knlist_clear()

From: Mark Johnston <markj_at_FreeBSD.org>
Date: Tue, 26 Dec 2023 02:08:28 UTC
The branch stable/14 has been updated by markj:

URL: https://cgit.FreeBSD.org/src/commit/?id=3c77aabc739659a09c01368c362a5f8073ab9bf9

commit 3c77aabc739659a09c01368c362a5f8073ab9bf9
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2023-12-12 14:35:48 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2023-12-25 16:58:27 +0000

    kqueue.9: Update the description of knlist_clear()
    
    knlist_clear() does not free knotes and so does not call fdrop(), so
    remove the bit of the function description which claims otherwise.  (The
    knote will be dropped by the next queue scan, and it is at that point
    that the fd reference will be dropped.)
    
    MFC after:      1 week
    
    (cherry picked from commit 604de40a024c760df5db542171d3953493f56bfb)
---
 share/man/man9/kqueue.9 | 12 +-----------
 1 file changed, 1 insertion(+), 11 deletions(-)

diff --git a/share/man/man9/kqueue.9 b/share/man/man9/kqueue.9
index 28a948481e3e..2f08d369191c 100644
--- a/share/man/man9/kqueue.9
+++ b/share/man/man9/kqueue.9
@@ -22,7 +22,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.Dd August 20, 2022
+.Dd December 18, 2023
 .Dt KQUEUE 9
 .Os
 .Sh NAME
@@ -333,16 +333,6 @@ The
 function will be called when the
 .Vt knote
 is deleted during the next scan.
-This function must not be used when
-.Va f_isfd
-is set in
-.Vt "struct filterops" ,
-as the
-.Fa td
-argument of
-.Fn fdrop
-will be
-.Dv NULL .
 .Pp
 The function
 .Fn knlist_delete