From nobody Tue Jul 11 00:46:25 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 4R0Mcy1CRkz4dNJn; Tue, 11 Jul 2023 00:46:26 +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 4R0Mcy0V5zz4FJB; Tue, 11 Jul 2023 00:46:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689036386; 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=Y1FhKts+6J22427FK167oLOxUf37MWmx5hj9J+pSFLA=; b=ZIbd2dRALn8ceT5dckWfj4o2xxdj9vYYVokMwDH4Y6y0NRKXjyy86YjxybNARKP+vftaFc hSOJU9aX0/SNryuslD7ECozQNNyBFQsrJ3G8iByDIaAQCLkovGpESq87KPyWoA1LSBhTEb KPfdo1J8RsFywvLGmmkckDDy0hoQVZ8UWHCZT5AO8ShpcYcAbuQplqFWOV7jt8vxLAGhnc XIpfxjQWul2l1pqSmyU9AgeNZdDO1wYgzYn9Bbb/wdfUZUpCbkGEMJ+FFa134rnaObPrIo X1lRm+zxrtE2GA7wgj687itVCT+L7wfRIXmod0cRBLlrdEmyRRYkERiWmsQbfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689036386; 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=Y1FhKts+6J22427FK167oLOxUf37MWmx5hj9J+pSFLA=; b=TcADegvV9X7XfXliTG3DtJxorBCIuZR0/wHjeImX5LbxeNf8mKzX0KZ9/NfXYM4IhfZoSS WChr4DYdiKnMcN0Rz7+lYbHwvYc/BZOi+BOFH4Nhfdmq4eHl4y70pVheGL5rHtouq7IQDN g1caj3y1+AfhbcDQD6JAFpGKO6sOOIaLHhc79NTQ+YrXqlq+10H1/92yO0oD/JfXbw9D7o AfjaQ8bEJy/33M7Fzk02eUg+iG2roa/7JzoKHGZ5tnr31b30m0cZEIlLZ+0iY30t9WLuBO wmb/ddGeDPXD4YnMixI1tL1YcrSFoA55Fw2eDyc8ri4ErnFh2VV73dqfxmgaYQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1689036386; a=rsa-sha256; cv=none; b=r3ZLuve0DG28DIwZcgQbcySVwwqgFArc8FcYuMoJyuB8JYTjchANZFnxtMzfVo4PUpkTna nmRb8+aGzElWOpBZaTFk9jWNw/AeUSxQ7s4I0RD/VDYI5ZKuy4Fkws9FgdhGswNactebjX STDAqp7AuR/xHG5kAwBSZvyd19JztZ5SIJNnmG/FR+USyVNg77aJaQ1EstaiQmE0JbGWeD QF8FnVctAOChSDgsujmPGXNdU2Mhf+9B9Nv950UZyiK5fXdN3uNAtB+wikPfgLsJCwGgYP DNSZ6H9x/Us13wxCnoG55foYBA84cRdYQ4z7hs2Y1tr0ZHK4TSXSAqdbIuMLXQ== 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 4R0Mcx6Cnbz15Ts; Tue, 11 Jul 2023 00:46:25 +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 36B0kPnD082156; Tue, 11 Jul 2023 00:46:25 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36B0kPBj082155; Tue, 11 Jul 2023 00:46:25 GMT (envelope-from git) Date: Tue, 11 Jul 2023 00:46:25 GMT Message-Id: <202307110046.36B0kPBj082155@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: b73d66d00394 - stable/13 - vn_path_to_global_path_hardlink(): initialize len 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: kib X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: b73d66d00394cd19392cc40140404889c940b0da Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=b73d66d00394cd19392cc40140404889c940b0da commit b73d66d00394cd19392cc40140404889c940b0da Author: Konstantin Belousov AuthorDate: 2023-07-04 07:46:15 +0000 Commit: Konstantin Belousov CommitDate: 2023-07-11 00:46:02 +0000 vn_path_to_global_path_hardlink(): initialize len (cherry picked from commit d7614c010c762dcb29110073e7fbecf048fa3a32) --- sys/kern/vfs_cache.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/kern/vfs_cache.c b/sys/kern/vfs_cache.c index b20bce7572be..36ac9c2ed6ab 100644 --- a/sys/kern/vfs_cache.c +++ b/sys/kern/vfs_cache.c @@ -3846,6 +3846,7 @@ vn_path_to_global_path_hardlink(struct thread *td, struct vnode *vp, * name. */ VOP_UNLOCK(vp); + len = pathlen; error = vn_fullpath_hardlink(vp, dvp, leaf_name, leaf_length, &rpath, &fbuf, &len);