From nobody Sun Feb 26 16:24:47 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 4PPpqz3g24z3tm9C; Sun, 26 Feb 2023 16:24:47 +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 4PPpqz33t2z3t54; Sun, 26 Feb 2023 16:24:47 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677428687; 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=pjroK1wPnTpHFLNYfB6wYLd6kHLaZ6KpBRoop9JFkjk=; b=Tpy0eua83oEbQDz7+uSi8ZaaUxo3SejlF+BQxLBMSXv/JnFZ3H+T+N4WpJHOv4W+ZlSONf a0uJfOYvbebKhCZGsqgZhyNcLL4KKA3IznvVAEW6jtpDuUmL0I6poLaYZtPWmjYL7Omrqb d/7E9piAD068Fun/QmStigzYkZaejBUi+zapJzhgt74Y552DwfMXD9E4OvifP7IfNoCe0g rhCm3oD8B3xruGYAJdq73yXOjg0/RWXxcyJ1eWL/tYb8A9E8mwtwVIBVF47snBBkVNgEmA YE7iNTgQf2i2gwJHFn+0D0xlix/im+RXNrXm40vTo9U+Wh5APm5W3Yov3XQTNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677428687; 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=pjroK1wPnTpHFLNYfB6wYLd6kHLaZ6KpBRoop9JFkjk=; b=eTqbRfFdrnw+mgT6o+QSLM/2MyMdoe1JVTr8E5QVq43kTJnlDLA+qA4ss8JhDyegdXcHep pEwWPU1SojLMrT5S80JEGX0EXib8hOvSXcCDrg3qtp2gPVu+60BwtL0W9eYp62e3HyyZlB spUK/WZZezQAHYmlbxtue9UbBtkatkNeOt/7QfqZAzJqgzqeutme7Wu3VClk0Cd+vnRqQw z5B312Bk6Q+BYNPNc7HYctdMS1t/O31OjhCOiVDgzd+i+NhXquGwEqOqANwAkqncy9jL3c izUESRgr5eIe/6N6XSQqTBDSzrJUgxD4jiuwftNEhp7Zo+4gq0qnfIMJPW2mTA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1677428687; a=rsa-sha256; cv=none; b=rlocnE85cM7BAEvBMbYbMTR8HsQjMlWQNBjNJqVc/U2sDcXQlbZU9zC3qPH/iRbXTyhk6x 0uyZpVpdwLoW1D+NoUsjOFrjwGhHQxmTk8f4Oj0i4+Rj/1zDCy7L1WXSDSIWBCleMWqEZE C78UfzAPEaK9dgd27obNwAfL/4TCkeonnn2CaZRZqGkIVAGDwj1DRQFOgc9XBZRAbNEQ+n yWdanbYEuVfdEU8Woyu9qUksukilmNgPnynwiqoKDfJDahfl6hYzaUcIcTOiv0XrvW7uXW ueUp6qeRS0dYmWoMVhShKKAgo4IUij/NY8tlxxcDsYKTWcWclxCg/abDQHUa1w== 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 4PPpqz1tFczs75; Sun, 26 Feb 2023 16:24:47 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 31QGOl7u089369; Sun, 26 Feb 2023 16:24:47 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31QGOl8I089368; Sun, 26 Feb 2023 16:24:47 GMT (envelope-from git) Date: Sun, 26 Feb 2023 16:24:47 GMT Message-Id: <202302261624.31QGOl8I089368@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: =?utf-8?Q?Dag-Erling=20Sm=C3=B8rgrav?= Subject: git: b8bb73ab724b - main - pseudofs: Fix LOR in VOP_READDIR. 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: des X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b8bb73ab724b19063481dba089c3dc9a8e1926b1 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by des: URL: https://cgit.FreeBSD.org/src/commit/?id=b8bb73ab724b19063481dba089c3dc9a8e1926b1 commit b8bb73ab724b19063481dba089c3dc9a8e1926b1 Author: Dag-Erling Smørgrav AuthorDate: 2023-02-26 15:30:53 +0000 Commit: Dag-Erling Smørgrav CommitDate: 2023-02-26 15:30:53 +0000 pseudofs: Fix LOR in VOP_READDIR. MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D20862 --- sys/fs/pseudofs/pseudofs_vnops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/fs/pseudofs/pseudofs_vnops.c b/sys/fs/pseudofs/pseudofs_vnops.c index eae4c1c71ab9..f4e27b469213 100644 --- a/sys/fs/pseudofs/pseudofs_vnops.c +++ b/sys/fs/pseudofs/pseudofs_vnops.c @@ -897,8 +897,8 @@ pfs_readdir(struct vop_readdir_args *va) if (!pfs_visible_proc(curthread, pd, proc)) { _PRELE(proc); PROC_UNLOCK(proc); - sx_sunlock(&allproc_lock); pfs_unlock(pd); + sx_sunlock(&allproc_lock); PFS_RETURN (ENOENT); } }