From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Aring Date: Mon, 29 May 2023 17:44:32 -0400 Subject: [Cluster-devel] [PATCH dlm/next 04/12] fs: dlm: unregister memory at the very last In-Reply-To: <20230529214440.2542721-1-aahringo@redhat.com> References: <20230529214440.2542721-1-aahringo@redhat.com> Message-ID: <20230529214440.2542721-4-aahringo@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit The dlm modules midcomms, debugfs, lockspace, uses kmem caches. We ensure that the kmem caches getting deallocated after those modules exited. Signed-off-by: Alexander Aring --- fs/dlm/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/dlm/main.c b/fs/dlm/main.c index 93755f83a30d..6ca28299c9db 100644 --- a/fs/dlm/main.c +++ b/fs/dlm/main.c @@ -73,10 +73,10 @@ static void __exit exit_dlm(void) dlm_plock_exit(); dlm_user_exit(); dlm_config_exit(); - dlm_memory_exit(); dlm_lockspace_exit(); dlm_midcomms_exit(); dlm_unregister_debugfs(); + dlm_memory_exit(); } module_init(init_dlm); -- 2.31.1