diff options
Diffstat (limited to 'fs/jffs2/super.c')
-rw-r--r-- | fs/jffs2/super.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/jffs2/super.c b/fs/jffs2/super.c index 1224d6b48e7e..d3d8799e2187 100644 --- a/fs/jffs2/super.c +++ b/fs/jffs2/super.c | |||
@@ -422,6 +422,12 @@ static void __exit exit_jffs2_fs(void) | |||
422 | unregister_filesystem(&jffs2_fs_type); | 422 | unregister_filesystem(&jffs2_fs_type); |
423 | jffs2_destroy_slab_caches(); | 423 | jffs2_destroy_slab_caches(); |
424 | jffs2_compressors_exit(); | 424 | jffs2_compressors_exit(); |
425 | |||
426 | /* | ||
427 | * Make sure all delayed rcu free inodes are flushed before we | ||
428 | * destroy cache. | ||
429 | */ | ||
430 | rcu_barrier(); | ||
425 | kmem_cache_destroy(jffs2_inode_cachep); | 431 | kmem_cache_destroy(jffs2_inode_cachep); |
426 | } | 432 | } |
427 | 433 | ||