From nobody Thu Nov 02 13:40:03 2023 X-Original-To: dev-commits-src-all@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 4SLlNz2YwQz50Lh1; Thu, 2 Nov 2023 13:40:03 +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 4SLlNz1l6cz4P0l; Thu, 2 Nov 2023 13:40:03 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698932403; 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=3Oery43hcQnGl+bM/s7kpQVKbAJ0VsYKllqUHlKe9Ps=; b=R2sQkeMEhgn8u5vLHQgaAWWxSxgHSB2ZXM5/VYrohjUCxGbmqiwHTCtSa1cjiWMhJIrbL8 8V0hQF+wEpCICMqMqfUW384uQldOaO+MqmP5L8MkHKXCPncJpJeQKf5TNorr/4jmyCjTi9 DcS30AfQRH7L9kW2HKTAMj2dntGMw0eEykO+6kEOvV1gSCQUyqO5ACSGQD6wP4bN/IBx9M JlocOKp3khpbuZPoS6tMfPxpqat3vk3srKlfhuHLJDrRUMdnnCQCtzb4I3b5JhcchpBi2g SE4ivd/NpRPaMvR/6xoLdZUsrwBeGzLP7RJ8uuaABMCY85qupZutwdwfR8Ef5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698932403; 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=3Oery43hcQnGl+bM/s7kpQVKbAJ0VsYKllqUHlKe9Ps=; b=wOkJiY3ViBzxko/k87BB+uOeoNRFDIaIiWXtWHAAb5ZjviSgwDOUc1u5DcTRjwgNo/x3dy HHAgLRQQ2si3pNZPjGQVGxyA7uyLUOF/iJHKWWJnqx57dTSPzSsuDBwkmgIUANWuVFo0mM dYT43WtNFCJuKnFdnelN0n/LkYKHeTMJeSwI9Odgi3wTHzn91LEseVaOymO+GYaIZjLOFD +EWyw6HKNJkWcaKWLXgnIbE5CROG0tKber5nbCynYsbbCsWZ5HieJFR8ba6qvM/uXmUYvO Gh/yM7NO0S7O7O0DjXPiHVGy7xZbDuxmyRp0FOkki6Qvl59yfJ5sY8BMAok8EQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1698932403; a=rsa-sha256; cv=none; b=UR6SHgYFAFF6pHQomMcGHlDETlpGPqJFkHkKM0A2d+YpN65oEoJt9/fjd+0GdHt78zn33B 9E0PaxOfHU6hIdiaYl+aXAjdpAzCz+YhHC9er15A78jnPzMezGgUnbJuq7DypsIgDnWnF2 pErNQF9coOmbIYD2ggjW4tXUb7xyInJRJb/avoeFLH0zkpS+t/jHKneKe/GBFOJ6qgxVej z5ttP/6+DLhoqjtS7BrYDgdD8P0/Hld2b/BDuOdcpEuYyFWyACuRIPUnQ5ISRdzCvTr63C f2KCevvcBfLPnJnF6ibKJYWB2TD0OdpjUf9KcW2orH6p6zmSP83W9+uhdLJJ5g== 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 4SLlNz0k4lzXFH; Thu, 2 Nov 2023 13:40:03 +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 3A2De3EV027356; Thu, 2 Nov 2023 13:40:03 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3A2De3hJ027352; Thu, 2 Nov 2023 13:40:03 GMT (envelope-from git) Date: Thu, 2 Nov 2023 13:40:03 GMT Message-Id: <202311021340.3A2De3hJ027352@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mark Johnston Subject: git: 56bb3ce09137 - main - pdinit(): Fix comment List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: markj X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 56bb3ce091371ffd95711c65e1eff306a19435e2 Auto-Submitted: auto-generated The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=56bb3ce091371ffd95711c65e1eff306a19435e2 commit 56bb3ce091371ffd95711c65e1eff306a19435e2 Author: Olivier Certner AuthorDate: 2023-09-26 10:26:46 +0000 Commit: Mark Johnston 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)