From nobody Wed May 22 22:13:45 2024 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 4Vl5DT6ysFz5L7ZR; Wed, 22 May 2024 22:13:45 +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 4Vl5DT5rP5z4R5v; Wed, 22 May 2024 22:13:45 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716416025; 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=KeLSlpZNi8twWHo3Usl52MeZRtOAtbwATMOg5RZyVRA=; b=e64MEe6eQnUKJ48n8Eze6TlewrkR34GUUF7+s+GTEjs8vBxkxosffwngAglAEtFEeXYBio XAwIs/NdfnNpOM85Jd/DvEiNY9d4ewvCtVEI57z6xHyBzrNgEwu/UI30QsLM5zG1tHKpn2 ePWJ5urEXEkY9laUuoulc9crLmJ4/DGQBG7LcQLnvJ6TU3/YIhKf7mNH5chQEz76PaBOtR G5ankln1/HEGX6WAi17JfneqVzLe69Sq6xVv/rpFsgUDp3oNEMKPeoNgl7/ihDcNp2ExHS Q+e/v4JyMd5z5hyuu/JOtaskBwoZYxvbYq43xgrhTHbUZDyw99JQajWZ1p9r6A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1716416025; a=rsa-sha256; cv=none; b=AdK4cnn2+aly2l8UnQlrV7Iw+lBtftnNXz79kLkrvaGZbgQuuBImpkZwU/3Z7pwVBxszKJ az5zCpjBvvaATc/WKN7YR8AhJuy7hwoaTbHf5H0HreGEfS+vjzU1abVHoxCeoJXDy4elWQ v4iPEaETtB4v1YNSL1uzjuHn1XExJOa/h//SDjFoc8YOoUVX0EaJW4BZJyc7nl5l/Vtp+D DCy/nLI9KMhJhrXFLSLwxNj94tpfrZ2sbsvp07w+HarEKWdWguuWjpEnlvOs57XT3RjHJF zhaDDOKIQxDIxsGbsZVj6MiobwLqeuHDcYrHEcdNOWKR7fbDISEPVKCPJ7jCDg== 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=1716416025; 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=KeLSlpZNi8twWHo3Usl52MeZRtOAtbwATMOg5RZyVRA=; b=sJiz1xgKlIH7Jyx+x5jDkxtmURo62QNodYW3tSoKfuEDXMR3KNNUTdlCC9hF+1AqKz2CX7 Z3TXnajjl3gvbT5H+wY1oDrFsC5pS3knCw2R3+NhqN6BGvA1L4q1WQCtiJavPDtia3U52p UP9q1d60T5Saz3Ze7tVEdrSnRlQa88s5skgYi1+A9d1UiK5/6tN001yrc2O7gRnOdCcmJ1 fAm+wfqoZteQAo60o8ZB+59mE5TITrR0UTZN3v8zC0FxqPuxliIK9AZlsDx1JF3hNF60Ro Eep/B3fzOxUgJOH0etrQwvIEPui9jag+gWfQYjV5DYlW6LaHZzvxwWmkau2Fvg== 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 4Vl5DT5RsyzNVC; Wed, 22 May 2024 22:13:45 +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 44MMDjpV000854; Wed, 22 May 2024 22:13:45 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44MMDj8e000851; Wed, 22 May 2024 22:13:45 GMT (envelope-from git) Date: Wed, 22 May 2024 22:13:45 GMT Message-Id: <202405222213.44MMDj8e000851@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: f0a4dd6d46e9 - main - mqueuefs: mark newly allocated vnode as constructed, under the lock 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@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/main X-Git-Reftype: branch X-Git-Commit: f0a4dd6d46e99d47fde12aabdaa52e75b59e95f4 Auto-Submitted: auto-generated The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=f0a4dd6d46e99d47fde12aabdaa52e75b59e95f4 commit f0a4dd6d46e99d47fde12aabdaa52e75b59e95f4 Author: Konstantin Belousov AuthorDate: 2024-05-22 02:39:59 +0000 Commit: Konstantin Belousov CommitDate: 2024-05-22 22:13:29 +0000 mqueuefs: mark newly allocated vnode as constructed, under the lock Sponsored by: The FreeBSD Foundation MFC after: 1 week --- 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 6f8fbaacdfb4..7779d8877337 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); }