From nobody Thu Dec 09 21:41:40 2021 X-Original-To: dev-commits-src-main@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 DB19818D5DDD; Thu, 9 Dec 2021 21:41:40 +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 4J96tX4Rdhz3QFb; Thu, 9 Dec 2021 21:41:40 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 7887B607C; Thu, 9 Dec 2021 21:41:40 +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 1B9LfeEm069789; Thu, 9 Dec 2021 21:41:40 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1B9LfedV069788; Thu, 9 Dec 2021 21:41:40 GMT (envelope-from git) Date: Thu, 9 Dec 2021 21:41:40 GMT Message-Id: <202112092141.1B9LfedV069788@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Dmitry Chagin Subject: git: 0f74021fb6a5 - main - pseudofs: Destroy vncache hashtbl on pseudofs module unload. List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dchagin X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0f74021fb6a5c3fb6e031892cc159b1e7e325bd6 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639086100; 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=SSbPJqgB8tAyniO0fn9L89L62Yr4/J295iTtfFrUNJc=; b=An6F09Qe2OSw37hohV6ehEFbVYSXCkKvxuNqaJKA9bAcyKgxdmlPakRne2t9+HgJ4LG0s+ 1OShga65jMpMoYcYU336NSkBQVFd1YAFfC+Pe2zWXqPAjnaxglpvdFp+ia+6JXcOaKayVI ep7w0W2U/icoe1nR8FBSX0PR6lup/ScRSqsX8lNc/b5Ys8MxCqzVENSDZnmWHJRPAXlyKZ xLSiTzt8psurieD9woI1BZoeaKcSNmWy+cArFg1jIaoXD820VYjXf9I/RgCd3jgM8vd5CR PB9Jmpj1I7R+ald9NxI67DTTWWH1uBjGcbVK0tMcbj7gq1m2flZpdTi/JncLOw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639086100; a=rsa-sha256; cv=none; b=Dyc13EzoaK/CH2Z2oh2X1668cSkOXO0ZSnZfALU95TnSR4rE2smgtZf8EFwL569gHUb5OG Hyt+VZdOJ/fpgGGAnVJd0Ou0bBOBIcpoczp5gKwRyaYqg/J1rdX7PJ3WFoF8VDgA8qRCfS +zaXsbsTqH/QRIkjip5CjfACc7K+mgG9Kr+8QvcwZDWv4U7FVuLpemch1X9o77CaCHFzdU TSYCTaBI1Lec1ZEA5O4Uhbq7z3/s7/U1E/E1THEduCxv0B89IHU8OMX7bsZqO3CciVz4Yf LW7tjGYIenTD99H59YilyaBQWBpmifH6r3jKN1SCMQOCiOzefF0AWuCQvKlnFg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by dchagin: URL: https://cgit.FreeBSD.org/src/commit/?id=0f74021fb6a5c3fb6e031892cc159b1e7e325bd6 commit 0f74021fb6a5c3fb6e031892cc159b1e7e325bd6 Author: Dmitry Chagin AuthorDate: 2021-12-09 21:41:08 +0000 Commit: Dmitry Chagin CommitDate: 2021-12-09 21:41:08 +0000 pseudofs: Destroy vncache hashtbl on pseudofs module unload. Reviewed by: mjg, kib Differential Revision: https://reviews.freebsd.org/D31605 MFC after: 2 weeks --- sys/fs/pseudofs/pseudofs_vncache.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/fs/pseudofs/pseudofs_vncache.c b/sys/fs/pseudofs/pseudofs_vncache.c index b0b10d525783..15892b510973 100644 --- a/sys/fs/pseudofs/pseudofs_vncache.c +++ b/sys/fs/pseudofs/pseudofs_vncache.c @@ -108,6 +108,7 @@ pfs_vncache_unload(void) KASSERT(pfs_vncache_entries == 0, ("%d vncache entries remaining", pfs_vncache_entries)); mtx_destroy(&pfs_vncache_mutex); + hashdestroy(pfs_vncache_hashtbl, M_PFSVNCACHE, pfs_vncache_hash); } /*