From nobody Wed May 29 05:36:04 2024 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 4Vpym46m5xz5LnJr; Wed, 29 May 2024 05:36:04 +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 4Vpym45Nb6z4Zfn; Wed, 29 May 2024 05:36:04 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716960964; 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=+usgUr7kI0sbqgfKpTpVb1/jHRq7w/leyCM1mb0pbwg=; b=b2Qfw4GdvXSooYEn0vpBLF0EBdCdFKeu1a5LWWiSTmYzWIVC5ggr4nMjrsP35J6dBmIAGt GJaAXb8ERcXUlTodeqyslmKfAv7bBp4M69aTKd9jTradyfnVR0Kq0QoihjAvmYGpaZtvgC 90vP19CUqz9OC1ijVvJ7CiwuYJ83kJ6SW8rxZGJlEqCxjyMw3cFYRV2FEoQ/mAa9YkpOUw 7xHfVCWadbrUH0AOlOB3KPTjx4QJ77m0U4CqwH841DRVLuObTU45/uQRMZREGM0Gh1Jj7u 93rixKJX2o1CLYRjlpxvSUOZ4e0+Ta9Ho+Yo1co6fEg84Azcml61Yk4oWpNZpA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1716960964; a=rsa-sha256; cv=none; b=IsMhuaramYfFU/sxXyub2DCsOzusMlmql+LKXe63x6Oa0ycy+KffD/a8Z74cnhWJsjS8qQ sLcZFSqd+u5t+rDiza6p1RFcz7VORePSuouqjL5HZSEP5KYO9rtoax4cyR3kn6krLbujSL BGWbknFkbp/8CIXAgAUrHaJEKT8+lzAA9+YcgUKwwy4JrXMoX+2ncCRtNdUrHGQz5eTQ5y zev2jJnHFh+QqU0eIhKmCLpHGo2OfvqUmkL9LjjQ8SjK1Av9SxF/gXMM/zKJvp6uH2aFxB 9V1bN3u28V/Nm2q5RdyLyUbVPde5tSuxyDcHlcq2UHwn4T6cLKf/2t7dhsSZ2g== 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=1716960964; 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=+usgUr7kI0sbqgfKpTpVb1/jHRq7w/leyCM1mb0pbwg=; b=TTmU6Ed8YJAafKKQolMhT6iadi9C4XjMZyPZoLc8cNtb6yKDqbdXsuh2JVCYR8x4NWi9Xj zVk7hO0ATkZaRkGs1gTTLTRtx27RQmQw0DX61P2QI2sW+Ad7mjEIxmkVCzCcD8X5d5CBDk 0sjhLKzpu5pv20feOYYYYW5slXMSpu2QlXIt0f/bvasJI569BCFOVPSKkhqLi8hyLTCIEi +KD6fBCeKLuViWdqH++f9gDkajbJycXE2YbQrkVmGbi+2FBtORy1jMvzxs35wEv5LKlMs1 aRCu1j63/jT1SKx0gMND1/bYevyYCdtTRN/BmkwVAijCQrKZ6tr2cA/zf2t8Wg== 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 4Vpym44l4JzkLC; Wed, 29 May 2024 05:36:04 +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 44T5a4GP086101; Wed, 29 May 2024 05:36:04 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44T5a4iI086099; Wed, 29 May 2024 05:36:04 GMT (envelope-from git) Date: Wed, 29 May 2024 05:36:04 GMT Message-Id: <202405290536.44T5a4iI086099@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Konstantin Belousov Subject: git: 5e77282d3a35 - stable/14 - mqueuefs: mark newly allocated vnode as constructed, under the lock 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: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 5e77282d3a35f4bff0f15678b27a71aaac041762 Auto-Submitted: auto-generated The branch stable/14 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=5e77282d3a35f4bff0f15678b27a71aaac041762 commit 5e77282d3a35f4bff0f15678b27a71aaac041762 Author: Konstantin Belousov AuthorDate: 2024-05-22 02:39:59 +0000 Commit: Konstantin Belousov CommitDate: 2024-05-29 05:35:38 +0000 mqueuefs: mark newly allocated vnode as constructed, under the lock (cherry picked from commit f0a4dd6d46e99d47fde12aabdaa52e75b59e95f4) --- sys/kern/uipc_mqueue.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/kern/uipc_mqueue.c b/sys/kern/uipc_mqueue.c index dd6bf3c4a0a9..5fcabbac7923 100644 --- a/sys/kern/uipc_mqueue.c +++ b/sys/kern/uipc_mqueue.c @@ -811,6 +811,7 @@ found: panic("%s has unexpected type: %d", pn->mn_name, pn->mn_type); } sx_xunlock(&mqfs->mi_lock); + vn_set_state(*vpp, VSTATE_CONSTRUCTED); return (0); }