fs: push rcu_barrier() from deactivate_locked_super() to filesystems
[deliverable/linux.git] / fs / hfs / super.c
index 4eb873e0c07b137c0225f30b20fdf78bfb0c0006..941d7a8c2197dd17eb0ab3b7ade3211f75a14a57 100644 (file)
@@ -482,6 +482,12 @@ static int __init init_hfs_fs(void)
 static void __exit exit_hfs_fs(void)
 {
        unregister_filesystem(&hfs_fs_type);
+
+       /*
+        * Make sure all delayed rcu free inodes are flushed before we
+        * destroy cache.
+        */
+       rcu_barrier();
        kmem_cache_destroy(hfs_inode_cachep);
 }
 
This page took 0.038422 seconds and 5 git commands to generate.