diff options
author | Olivier Certner <olce.freebsd@certner.fr> | 2023-09-26 10:26:46 +0000 |
---|---|---|
committer | Mark Johnston <markj@FreeBSD.org> | 2023-11-02 13:30:02 +0000 |
commit | 56bb3ce091371ffd95711c65e1eff306a19435e2 (patch) | |
tree | 698b653b80a06163141c9f3d4431e6a58c67edc5 /sys/kern/kern_descrip.c | |
parent | 92541c12bc25c59333d7f3b0721b6b16aaff3644 (diff) | |
download | src-56bb3ce091371ffd95711c65e1eff306a19435e2.tar.gz src-56bb3ce091371ffd95711c65e1eff306a19435e2.zip |
pdinit(): Fix comment
Reviewed by: markj, kib
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D42256
Diffstat (limited to 'sys/kern/kern_descrip.c')
-rw-r--r-- | sys/kern/kern_descrip.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |