The branch main has been updated by markj:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=56bb3ce091371ffd95711c65e1eff306a19435e2

commit 56bb3ce091371ffd95711c65e1eff306a19435e2
Author:     Olivier Certner <olce.free...@certner.fr>
AuthorDate: 2023-09-26 10:26:46 +0000
Commit:     Mark Johnston <ma...@freebsd.org>
CommitDate: 2023-11-02 13:30:02 +0000

    pdinit(): Fix comment
    
    Reviewed by:            markj, kib
    MFC after:              1 week
    Sponsored by:           The FreeBSD Foundation
    Differential Revision:  https://reviews.freebsd.org/D42256
---
 sys/kern/kern_descrip.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/kern/kern_descrip.c b/sys/kern/kern_descrip.c
index 6ed824e229d6..af0226d49ae3 100644
--- a/sys/kern/kern_descrip.c
+++ b/sys/kern/kern_descrip.c
@@ -2238,7 +2238,7 @@ fdinit(void)
  * Build a pwddesc structure from another.
  * Copy the current, root, and jail root vnode references.
  *
- * If pdp is not NULL, return with it shared locked.
+ * If pdp is not NULL and keeplock is true, return with it (exclusively) 
locked.
  */
 struct pwddesc *
 pdinit(struct pwddesc *pdp, bool keeplock)

Reply via email to