summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorEric Sandeen <sandeen@redhat.com>2013-07-26 15:21:11 -0400
committerTheodore Ts'o <tytso@mit.edu>2013-07-26 15:21:11 -0400
commitdd12ed144e9797094c04736f97aa27d5fe401476 (patch)
tree42b60f138fe6d44a99f25101454ba6e21139ff34 /fs
parenta34eb503742fd25155fd6cff6163daacead9fbc3 (diff)
downloadlwn-dd12ed144e9797094c04736f97aa27d5fe401476.tar.gz
lwn-dd12ed144e9797094c04736f97aa27d5fe401476.zip
ext4: 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. Signed-off-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> Cc: stable@vger.kernel.org # v3.8+
Diffstat (limited to 'fs')
-rw-r--r--fs/ext4/super.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index bca26f34edf4..36b141e420b7 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -5481,6 +5481,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");