From nobody Tue Feb 21 13:50:35 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 4PLgfM6jJSz3sgJl; Tue, 21 Feb 2023 13:50:35 +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 4PLgfM68Lkz4Lmq; Tue, 21 Feb 2023 13:50:35 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676987435; 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=OPsDvzICkceGYs+k9gXFutQwlofl6PSJAtoBvL+neJ8=; b=F4ayd6VEe913k92bYLFIQ4TjJeKZxxm96a9zcC+I+xGh/g/OizwKaJEk7029xg0AfpAveu XGaVXZPGwoL4pjBIPhTiCv4BLOi2lz008QjuyRQ2c0JHl0Nry4XoRU2DehcM/Pu+lmXHht 6XcP9QCypVU0qbcIsTpgtZ9ePum7X89qCommAaTbLaQu1BkMR41fVBHdQiGDqsbkGkFtJS EWm04pmZrXE3wuRIxDmE/h1Qd+d/8mam/OsZGak3zcRuGJFv4O+YpbcpGOa4FBrDpPJgbn 6m3xq0gOGO04gcIRC6mmZCCdms4yI24S6q9dJlXHpuU7aTfplCrHpXtUtw1BxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676987435; 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=OPsDvzICkceGYs+k9gXFutQwlofl6PSJAtoBvL+neJ8=; b=U2Quh45YjmyTNzrOib7HQA0JO8qQlC97Zb1M9KQwbE6D9Mh1bdkE2uvcHwgdMYCReUkIdd Webp++D3DvediWgrO0Y/JXv2Cp/UJusDPc2cIAYGOwCm1jnD0s3n6HI6iTYbAjc0zAR4NY Y+5pCAVz127K/fResSLc8NeA/8ywH2kYWIc4TixQW4rSSwSxnznN+yYMcicwFTU5mNIpKb zKpAG8F5/t1b9IqWnfFP+s3k2eLCQSibZSF0Swu1Z8gym13Z2n9R8KJ08aV+ToUgK4EWcD WDZENw0u1JEF3IxqpX/rcROqfKm0JvjstP5TUg4GWHnpsHEEmt2iAongdmfNTA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676987435; a=rsa-sha256; cv=none; b=VFISNbbvYUGFEfPpgCDBZTyPPtalXf8snRft/mCS89/kY0wMcQ95VMqi/CjWr+++WIkI5O TYxI8hkfln2Azdbp5PzVCLXiFtF7mWMJv1LT4uC4pu7tF1axrNJtYx1mCLz4Av6FvZYzco efN4dxXT1f5R82PynoxZw1+AKO5e33OCFCfiTM0dtWjgT+/47CdfsbwjtaZ5Vhtq2i3OoC HiH96lnxzMiKJXH8ycERgZ6HKdfNdvptBZfXhIrbWGhqq/JrqCBaYuuGzCgpXWxA2rVlJ5 UMZtdqVrUm3kpBPrEjElkMcCxIsR3u0+dHdnuf24wAJW+DhJTSLIMEm0gm1rcQ== 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 4PLgfM5GBfzNHH; Tue, 21 Feb 2023 13:50:35 +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 31LDoZSK002018; Tue, 21 Feb 2023 13:50:35 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31LDoZuJ002017; Tue, 21 Feb 2023 13:50:35 GMT (envelope-from git) Date: Tue, 21 Feb 2023 13:50:35 GMT Message-Id: <202302211350.31LDoZuJ002017@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: dbcd7e7e329c - main - vfs cache: whack set-but-not-used warn in cache_purgevfs 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: dbcd7e7e329cd555e12434b2fa9e48f3dfeadf05 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=dbcd7e7e329cd555e12434b2fa9e48f3dfeadf05 commit dbcd7e7e329cd555e12434b2fa9e48f3dfeadf05 Author: Mateusz Guzik AuthorDate: 2023-02-21 13:48:35 +0000 Commit: Mateusz Guzik CommitDate: 2023-02-21 13:48:35 +0000 vfs cache: whack set-but-not-used warn in cache_purgevfs Reported by: kib Sponsored by: Rubicon Communications, LLC ("Netgate") --- sys/kern/vfs_cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/kern/vfs_cache.c b/sys/kern/vfs_cache.c index 47065cf85bb5..3ae2b663fffb 100644 --- a/sys/kern/vfs_cache.c +++ b/sys/kern/vfs_cache.c @@ -3016,7 +3016,7 @@ void cache_purgevfs(struct mount *mp) { struct vnode *vp, *mvp; - size_t visited, purged; + size_t visited __sdt_used, purged __sdt_used; visited = purged = 0; /*