diff options
author | Alexander Aring <aahringo@redhat.com> | 2023-05-30 00:44:32 +0300 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2023-06-14 18:17:33 +0300 |
commit | cbba21169eeff4d43e064c43d0b95b1f89587da3 (patch) | |
tree | 55379b1595226a799b7e88d928a4f2cbb81ee67e /fs/dlm | |
parent | f68bb23cad1f128198074ed7b3a4c5fb03dbd9d2 (diff) | |
download | linux-cbba21169eeff4d43e064c43d0b95b1f89587da3.tar.xz |
fs: dlm: unregister memory at the very last
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 <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'fs/dlm')
-rw-r--r-- | fs/dlm/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |