diff options
Diffstat (limited to 'fs/jfs/super.c')
-rw-r--r-- | fs/jfs/super.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/jfs/super.c b/fs/jfs/super.c index 706692f24033..efdf8835dfca 100644 --- a/fs/jfs/super.c +++ b/fs/jfs/super.c | |||
@@ -911,6 +911,12 @@ static void __exit exit_jfs_fs(void) | |||
911 | jfs_proc_clean(); | 911 | jfs_proc_clean(); |
912 | #endif | 912 | #endif |
913 | unregister_filesystem(&jfs_fs_type); | 913 | unregister_filesystem(&jfs_fs_type); |
914 | |||
915 | /* | ||
916 | * Make sure all delayed rcu free inodes are flushed before we | ||
917 | * destroy cache. | ||
918 | */ | ||
919 | rcu_barrier(); | ||
914 | kmem_cache_destroy(jfs_inode_cachep); | 920 | kmem_cache_destroy(jfs_inode_cachep); |
915 | } | 921 | } |
916 | 922 | ||