diff options
| author | Chao Yu <chao2.yu@samsung.com> | 2015-06-04 16:41:16 -0400 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-05-27 19:40:05 +0200 |
| commit | bf6b5cc9385ab89fe60ffce39d4453d81ad6fa9c (patch) | |
| tree | b2dbff4e25cd9722897009bd73d97bac91ccb034 | |
| parent | 5c6c17f30d85109a1f7b9a388f29a08e2a615daf (diff) | |
ext4 crypto: release crypto resource on module exit
Crypto resource should be released when ext4 module exits, otherwise
it will cause memory leak.
Change-Id: Ie298e73bd766768707a7af440691ce2f418f5acc
Signed-off-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
| -rw-r--r-- | fs/ext4/super.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ext4/super.c b/fs/ext4/super.c index aa7621f36..e0952b9c8 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(); |
