From nobody Thu Dec 21 13:43:50 2023 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Sws8k71ZBz54pry; Thu, 21 Dec 2023 13:43:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Sws8k4gjCz4P13; Thu, 21 Dec 2023 13:43:50 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1703166230; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=joowXEK13rKkqh08w4CnM4/yUtFa+fywlaqxsnvu1Ds=; b=emzJcwTflIDTiPzAllSZanaUpzNgyVMgMewiPjsD+0bTwRfTAHdS5tGWwofXcEDZdyqM94 XhF0kp+TpcivGFcZG8AjHdpYzXIhTdxC9J7/3Qj7M/43lyyf5dyRyqmvADmkaXwUtewObK Pgr4hsvG6KXVXTjZVOuqrZaUt1uyslurOlPfrw+JcTUbIQ9GUM5c5YkoIYTpjTcrhGLAaN CCbG8Zt4JFgFiVLozZ6rfXN8KJtwva7iQSpKGxAuNlIEXvKtKqY9PGWNaNtNrz7A6ko7KW L309OFVYu7dTiv9QkKSJRlUeqebl9VTm5NUJGY5ritqHOZj7VVYEWCeJqNIJIQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1703166230; a=rsa-sha256; cv=none; b=lDc2Ed9Sm+Vpqk8i3LF0z0FoltSQRih8i9IYr7NC443V4bc59JifTvEOCQnanTKCV198nu JUGK+OpFIMpl7uxect82u1LeNoO3AToYq/zdqxfAJ/ZO7N9JYwuO4E9Eo9Kb2xRGs3EgED o+eEC5G8hilMNj/ikGnpONJ+l4G5DksbTLGONOilEsxeVCTDJxHcSIhXe6zQ9h+ux9uKwh 9ml2hMXuHdW2Ts//DpQ7E8z7pak6HdMduQAovCa6R030K9uIvj0x69LrQ2cjR9OrOE/0rH /+9FgkK5uBISpKhZz7jAxaJ9lh1TdPTRURhfNBy6hgprX57t8Wr457sxGhmkjg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1703166230; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=joowXEK13rKkqh08w4CnM4/yUtFa+fywlaqxsnvu1Ds=; b=rujSsMIYXVkgSyu+3giTONjpF152Gbea7A0K3T0LykgY+Rq/oPtsMfwB+HUWm9JQ/TxY4v 6lUrv4CzyxUoNxuJyrRna4fKYA6pu3JDYUccx1d//Oweiw/MSiw6d4UnEl/hpMd199Wxph K0HJ8PJMcRbL03mpb1RBGhFV/iaO/YdeygYPjpl7s5wwBO5u7dr8e4Oc17hRY5zvfpgp/x SpKeqywFPvsMO2JKStO98/6PxZHMlivkGIcapX8bXrh6W3cDgRYeyH5lU7f8izie5gDvvw s/mDyJ86ctC085aTHsEOSD9yOZivEkho6YW6FpYwMbnIk/pQvO9bJG3Vw3Jb7Q== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Sws8k3mflzZRW; Thu, 21 Dec 2023 13:43:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3BLDhodg079717; Thu, 21 Dec 2023 13:43:50 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3BLDhoR7079714; Thu, 21 Dec 2023 13:43:50 GMT (envelope-from git) Date: Thu, 21 Dec 2023 13:43:50 GMT Message-Id: <202312211343.3BLDhoR7079714@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Olivier Certner Subject: git: a10630ef818f - stable/13 - pdinit(): Fix comment List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: olce X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: a10630ef818f05ada0c52f7f0cd35d8036052c5a Auto-Submitted: auto-generated The branch stable/13 has been updated by olce: URL: https://cgit.FreeBSD.org/src/commit/?id=a10630ef818f05ada0c52f7f0cd35d8036052c5a commit a10630ef818f05ada0c52f7f0cd35d8036052c5a Author: Olivier Certner AuthorDate: 2023-09-26 10:26:46 +0000 Commit: Olivier Certner CommitDate: 2023-12-21 13:39:11 +0000 pdinit(): Fix comment Reviewed by: markj, kib Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D42256 (cherry picked from commit 56bb3ce091371ffd95711c65e1eff306a19435e2) Approved by: markj (mentor) --- 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 de6bfe8bc1ae..0bd011ac2425 100644 --- a/sys/kern/kern_descrip.c +++ b/sys/kern/kern_descrip.c @@ -2255,7 +2255,7 @@ fdinit(struct filedesc *fdp, bool prepfiles, int *lastfile) * 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)