From nobody Thu Apr 20 08:10:29 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 4Q29M95x4rz46TZZ; Thu, 20 Apr 2023 08:10:29 +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 4Q29M941QYz3kG8; Thu, 20 Apr 2023 08:10:29 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681978229; 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=ZoCrvKsk7h5wiKpJeFEvCj7yXogkSCFDlngbPmW5DbM=; b=vLc9Rv753kmO79Pc9/BAlEu4WaW6oxTJd/FQ8qvYOgRz989QkPc1EhpMJtvV4Ek4VRtpg8 NAa0coijNGfinU7P8f0RpPBhy/6h6cE3CsgcR3EWoUgvp6TFg4Qv1BjVl72cWiDNvxgrZ0 bhdN4AW4BmEB9DOWtKAlDXrJE1EX1OZJBOFcv65Q17+sbH9CC89c9TBi4g+n1fT9nIG0er Gw5yZgZ6weDgaSaWAmIO77WxFFajtAu3qzVq5GxxaCZUq4+NKKpip9wVyItguLEy5evE3C NzsrxuOkESAppbfU806DBlMf8lb4XIfOdchHS0lw+/lqfWrYNFVycxUfadsEKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681978229; 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=ZoCrvKsk7h5wiKpJeFEvCj7yXogkSCFDlngbPmW5DbM=; b=Z/uwhEHGTuggk3EC78CAbVS21e7hc1vxa8dMGZQGXsIyew7HywkF+WeyKgx4nkJsgVKEZT slFHIbS3SQNYGHPels6VTHF+z8u1irgB0G+mji6xknU3g/frJEWYfV0rJ6E36+6VW1Z5Io 81LxJzpdV8kbD+rWp1/ss+xD5RMZxU/n0ZM74w7gziyJmK7f3Vb/38tVBm2iY56UpLHtX8 t2KV/2Nr2XL0OlNrKK1jWyt3xvwNX5/Y3AOH1P7tPsVOYZ3Br/1fawR35/PjJw3znfRyid EEQXSF9FFGVFppjHE4Cal7zuT64zTfkVvThFx8SWhTsh8RSjk24A+FbyMxPpgg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1681978229; a=rsa-sha256; cv=none; b=RyU1nQC5lU750Hd4CPTRP0euib7zlp8oTOIm2GkIdxsVgyM2M8xgy2hIh4C1Qe7M2KzsBE imDQZhXK0Oy3nDvoouESh2XvHCpRBXwAMAeUlo7lv58njUkbD+D6b4X3m+4E+2p4CtGSoS vOnwVIvtzMI+AR7wSjfLUsSQhZ8kV52xOGgko/TQn6K6zjnddjUBKk5g15rgRrgVL6kC95 kXB1UEfMMoDph6ZmyPkJmaIgRIJtC0ZkgHd3yetmSZqqeih/ITFUMJbS+qr9atik2u2vID S/9XgSN9Fk6X06Wq8FAc/9Slxv6KfpCP6dc76DfcLWkAAfkv+34Y3aQT7vG1Dw== 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 4Q29M92WV6zVGK; Thu, 20 Apr 2023 08:10:29 +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 33K8ATIF048493; Thu, 20 Apr 2023 08:10:29 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33K8ATis048492; Thu, 20 Apr 2023 08:10:29 GMT (envelope-from git) Date: Thu, 20 Apr 2023 08:10:29 GMT Message-Id: <202304200810.33K8ATis048492@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mateusz Guzik Subject: git: 7ff314380919 - main - zfs: add missing vn state transition for .zfs 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: mjg X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7ff314380919d5b7c4b45e68fd093a51a998f845 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=7ff314380919d5b7c4b45e68fd093a51a998f845 commit 7ff314380919d5b7c4b45e68fd093a51a998f845 Author: Mateusz Guzik AuthorDate: 2023-04-20 08:09:59 +0000 Commit: Mateusz Guzik CommitDate: 2023-04-20 08:09:59 +0000 zfs: add missing vn state transition for .zfs Reported by: des --- sys/contrib/openzfs/module/os/freebsd/zfs/zfs_ctldir.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sys/contrib/openzfs/module/os/freebsd/zfs/zfs_ctldir.c b/sys/contrib/openzfs/module/os/freebsd/zfs/zfs_ctldir.c index d00efa44f2bc..8ba5e0b242a2 100644 --- a/sys/contrib/openzfs/module/os/freebsd/zfs/zfs_ctldir.c +++ b/sys/contrib/openzfs/module/os/freebsd/zfs/zfs_ctldir.c @@ -204,6 +204,10 @@ sfs_vgetx(struct mount *mp, int flags, uint64_t parent_id, uint64_t id, return (error); } +#if __FreeBSD_version >= 1400077 + vn_set_state(vp, VSTATE_CONSTRUCTED); +#endif + *vpp = vp; return (0); }