diff options
author | Eric Sandeen <sandeen@redhat.com> | 2013-07-26 15:21:11 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-15 01:59:05 -0400 |
commit | 9aff080cc65e4eb6af8909d2efc1dc0b72fbbc9c (patch) | |
tree | 79f681062546079292231ca9ba86e750f1ed19b7 | |
parent | ab9530578e03d7fc00f41f4c406d213d81579de0 (diff) |
ext4: destroy ext4_es_cachep on module unload
commit dd12ed144e9797094c04736f97aa27d5fe401476 upstream.
Without this, module can't be reloaded.
[ 500.521980] kmem_cache_sanity_check (ext4_extent_status): Cache name already exists.
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-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 6681c037b99d..2bf2f33107d0 100644 --- a/fs/ext4/super.c +++ b/fs/ext4/super.c | |||
@@ -5400,6 +5400,7 @@ static void __exit ext4_exit_fs(void) | |||
5400 | kset_unregister(ext4_kset); | 5400 | kset_unregister(ext4_kset); |
5401 | ext4_exit_system_zone(); | 5401 | ext4_exit_system_zone(); |
5402 | ext4_exit_pageio(); | 5402 | ext4_exit_pageio(); |
5403 | ext4_exit_es(); | ||
5403 | } | 5404 | } |
5404 | 5405 | ||
5405 | MODULE_AUTHOR("Remy Card, Stephen Tweedie, Andrew Morton, Andreas Dilger, Theodore Ts'o and others"); | 5406 | MODULE_AUTHOR("Remy Card, Stephen Tweedie, Andrew Morton, Andreas Dilger, Theodore Ts'o and others"); |