Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Alexander Aring and committed by
David Teigland
cbba2116 f68bb23c

+1 -1
+1 -1
fs/dlm/main.c
··· 73 73 dlm_plock_exit(); 74 74 dlm_user_exit(); 75 75 dlm_config_exit(); 76 - dlm_memory_exit(); 77 76 dlm_lockspace_exit(); 78 77 dlm_midcomms_exit(); 79 78 dlm_unregister_debugfs(); 79 + dlm_memory_exit(); 80 80 } 81 81 82 82 module_init(init_dlm);