Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e298e73b authored by Chao Yu's avatar Chao Yu Committed by Theodore Ts'o
Browse files

ext4 crypto: release crypto resource on module exit



Crypto resource should be released when ext4 module exits, otherwise
it will cause memory leak.

Signed-off-by: default avatarChao Yu <chao2.yu@samsung.com>
Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
parent abdd438b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -5645,6 +5645,7 @@ static int __init ext4_init_fs(void)

static void __exit ext4_exit_fs(void)
{
	ext4_exit_crypto();
	ext4_destroy_lazyinit_thread();
	unregister_as_ext2();
	unregister_as_ext3();