[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-id: <002801d099bb$13ec4610$3bc4d230$@samsung.com>
Date: Fri, 29 May 2015 10:55:37 +0800
From: Chao Yu <chao2.yu@...sung.com>
To: 'Ext4 Developers List' <linux-ext4@...r.kernel.org>
Cc: tytso@....edu, mhalcrow@...gle.com, jaegeuk@...nel.org
Subject: [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 <chao2.yu@...sung.com>
---
fs/ext4/super.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index aa7621f..e0952b9 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -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();
--
2.3.3
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists