From: Eric Sandeen Date: Fri, 26 Jul 2013 19:21:11 +0000 (-0400) Subject: ext4: destroy ext4_es_cachep on module unload X-Git-Tag: firefly_0821_release~6453^2~1121 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9aff080cc65e4eb6af8909d2efc1dc0b72fbbc9c;p=firefly-linux-kernel-4.4.55.git 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 Signed-off-by: "Theodore Ts'o" Signed-off-by: Greg Kroah-Hartman --- 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) kset_unregister(ext4_kset); ext4_exit_system_zone(); ext4_exit_pageio(); + ext4_exit_es(); } MODULE_AUTHOR("Remy Card, Stephen Tweedie, Andrew Morton, Andreas Dilger, Theodore Ts'o and others");