summaryrefslogtreecommitdiffstats
path: root/fs/ext4/super.c
diff options
context:
space:
mode:
authorChao Yu <chao2.yu@samsung.com>2015-05-31 13:37:35 -0400
committerTheodore Ts'o <tytso@mit.edu>2015-05-31 13:37:35 -0400
commite298e73bd766768707a7af440691ce2f418f5acc (patch)
tree69ceb99342581114c30d99054d4161374689a873 /fs/ext4/super.c
parentabdd438b26b409eaccf9c847fcf9c3ab52f1959e (diff)
downloadlinux-e298e73bd766768707a7af440691ce2f418f5acc.tar.gz
linux-e298e73bd766768707a7af440691ce2f418f5acc.tar.bz2
linux-e298e73bd766768707a7af440691ce2f418f5acc.zip
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: Chao Yu <chao2.yu@samsung.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/super.c')
-rw-r--r--fs/ext4/super.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index 56bfc2f25d90..31e85bea9652 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -5645,6 +5645,7 @@ out7:
static void __exit ext4_exit_fs(void)
{
+ ext4_exit_crypto();
ext4_destroy_lazyinit_thread();
unregister_as_ext2();
unregister_as_ext3();