From nobody Fri Jun 17 19:38:36 2022 X-Original-To: dev-commits-src-branches@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 59D1785B4FA; Fri, 17 Jun 2022 19:38:37 +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 4LPq8r4Bs6z3Qd1; Fri, 17 Jun 2022 19:38:36 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655494716; 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=fDjgfdcg7H7cSLjwI9+ccTHE/2TIjjhtD6LhbDq+Uj0=; b=hQkzCxm9c3QHK4XetmY4ruGeCVHqeOXgvMP7WpjCmfnvTBjv2CdDK9lu2hdbR0goInWir3 +ILFos/PiqV83+icga66Fr4iFSOZrOQGMSjIM1F1nijI2yJcObCKQveS35oIAYz15QyZ3t 3sD7zUBGGmSJ+kZBnG3STPz0MVM/cDjs3QJVp3YOhgHHzURHQCeL0nuZwz4wIPAlBwE72D 1nAoVpi0DmImA634M5ABSwbO/IVCPkQ4BheTUJK39dleIDPy7Df15clMat22b0Fo4ZRsqH REWrTLe8TycuFvfBSs9tsPB3KyfFfX6jmdU9Y40Z+mbMp7mi5xGtTeXvf29wxg== 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 56F5A25D83; Fri, 17 Jun 2022 19:38:36 +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 25HJcahq014901; Fri, 17 Jun 2022 19:38:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 25HJcaSQ014900; Fri, 17 Jun 2022 19:38:36 GMT (envelope-from git) Date: Fri, 17 Jun 2022 19:38:36 GMT Message-Id: <202206171938.25HJcaSQ014900@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Dmitry Chagin Subject: git: 00a4cd973c0b - stable/13 - pseudofs: Destroy vncache hashtbl on pseudofs module unload. List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@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/stable/13 X-Git-Reftype: branch X-Git-Commit: 00a4cd973c0bec5300a46f9132eec9d55176c525 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655494716; 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=fDjgfdcg7H7cSLjwI9+ccTHE/2TIjjhtD6LhbDq+Uj0=; b=T6PjR7b1r0olHNu6qQ6FsEy3m2UkeLvboVENN2xD+Jg84uEeb7MZ6C2ZBi16DVs3kNuNF0 ujeTR2hhNbugKg2tGipAs8ZYIaQYFpEMXT4qXYdRWMhwQD7ogBoy3257qq2Fsxe6uV9Rfp 4Aektr0tekPgis4rXfNh5z5cZNtsaOuGCf1lWEO5qaCR5JxU0XIbJ4SL7l6b1N2eRLb2GR nTJjg3wwpPVNi1fdh4U9hfn60YQG0lqjYzBhvNfy2nHlK6iXOh7IQduatyJSeJU8PcmKti BctDMaVzvh/b3gWtnu0wErQDRacaATSPcq71vBhYw2GUBWFWShftCQNHgh5aLg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1655494716; a=rsa-sha256; cv=none; b=j8Qo3OIT9i6OI6v7vMbrO1gzDJ4kcTfW8vh0t/P5/EdZ5bRkmVtwP5Y8iVD+KY+k3BaY4h vot8U+oTI5HKYjOf//9UWfvA00jEkSPcK4ZlYYFOJVjdhcHCVFe4GNsPdT+QZGXGBbTh0i dNZukj9E5QSPN4XRAd6WSla4AerP/S3TPqdIJjME162KYjy+BbbDG0QZSiMZ7XKixepnDS ACuT8QSW37U2fgAhmTvrILirkjqLGhNS9R2SJdiXPjTEkJU9uh0UH3t5ggWC146wAuTVqb al33yHpqXPrT+ynKAJI9igyLWx/iypu3ZVssJHkxJ/eala6Fu8oV0ekn4Pjvlw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by dchagin: URL: https://cgit.FreeBSD.org/src/commit/?id=00a4cd973c0bec5300a46f9132eec9d55176c525 commit 00a4cd973c0bec5300a46f9132eec9d55176c525 Author: Dmitry Chagin AuthorDate: 2021-12-09 21:41:08 +0000 Commit: Dmitry Chagin CommitDate: 2022-06-17 19:33:41 +0000 pseudofs: Destroy vncache hashtbl on pseudofs module unload. Reviewed by: mjg, kib Differential Revision: https://reviews.freebsd.org/D31605 MFC after: 2 weeks (cherry picked from commit 0f74021fb6a5c3fb6e031892cc159b1e7e325bd6) --- 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); } /*