Patchwork destroy ext4_es_cachep on module unload

login
register
mail settings
Submitter Eric Sandeen
Date July 26, 2013, 2:19 a.m.
Message ID <51F1DCCE.6060405@redhat.com>
Download mbox | patch
Permalink /patch/262028/
State Accepted
Headers show

Comments

Eric Sandeen - July 26, 2013, 2:19 a.m.
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>
---



--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Theodore Ts'o - July 26, 2013, 7:22 p.m.
On Thu, Jul 25, 2013 at 09:19:58PM -0500, Eric Sandeen wrote:
> 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>

Applied, thanks.

					- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index bca26f3..59c0c03 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -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");