Skip to contentSkip to conversation

destroy ext4_es_cachep on module unload

PATCH Applied Eric Sandeen 2 participants 2 messages Jul 26, 2013 ext4 file system

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 destroy ext4_es_cachep on module unload

Without this, module can't be reloaded.

[  500.521980] kmem_cache_sanity_check (ext4_extent_status): Cache name already exists.

---

fs/ext4/super.c +1 -0
index bca26f3..59c0c03 100644
@@ -5481,6 +5483,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");
maintainer Applied
#1 lore raw
Quoted 5 lines · Eric Sandeen

Without this, module can't be reloaded.

[  500.521980] kmem_cache_sanity_check (ext4_extent_status): Cache name already exists.

Applied, thanks.

- Ted