diff options
Diffstat (limited to 'fs/jfs')
-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 c55c7452d28..3735347fd5f 100644 --- a/fs/jfs/super.c +++ b/fs/jfs/super.c @@ -903,6 +903,12 @@ static void __exit exit_jfs_fs(void) jfs_proc_clean(); #endif unregister_filesystem(&jfs_fs_type); + + /* + * Make sure all delayed rcu free inodes are flushed before we + * destroy cache. + */ + rcu_barrier(); kmem_cache_destroy(jfs_inode_cachep); } |