Skip to content

Commit cbba211

Browse files
Alexander Aringteigland
authored andcommitted
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>
1 parent f68bb23 commit cbba211

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

fs/dlm/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,10 @@ static void __exit exit_dlm(void)
7373
dlm_plock_exit();
7474
dlm_user_exit();
7575
dlm_config_exit();
76-
dlm_memory_exit();
7776
dlm_lockspace_exit();
7877
dlm_midcomms_exit();
7978
dlm_unregister_debugfs();
79+
dlm_memory_exit();
8080
}
8181

8282
module_init(init_dlm);

0 commit comments

Comments
 (0)