ext4 crypto: release crypto resource when module exit
PATCH 1/2 ext4 crypto: release crypto resource when module exit
Crypto resource should be released when ext4 module exits, otherwise it will cause memory leak.
Signed-off-by Chao Yu <[email protected]>
--- fs/ext4/super.c | 1 + 1 file changed, 1 insertion(+)
fs/ext4/super.c +1 -0
@@ -5640,6 +5640,7 @@ out7: static void __exit ext4_exit_fs(void) { +ext4_exit_crypto ();ext4_destroy_lazyinit_thread ();unregister_as_ext2 ();unregister_as_ext3 ();
Signature · 1 line
2.3.3
Quoted 4 lines · Chao Yu
Crypto resource should be released when ext4 module exits, otherwise it will cause memory leak.
Signed-off-by Chao Yu <[email protected]>
Thanks, applied.
- Ted