]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - fs/isofs/inode.c
fs: push rcu_barrier() from deactivate_locked_super() to filesystems
[karo-tx-linux.git] / fs / isofs / inode.c
index 29037c365ba4f4807eca405680def2c78353f966..f94cde4527e880078ed2dd20f1148f0c030eaa7f 100644 (file)
@@ -114,6 +114,11 @@ static int init_inodecache(void)
 
 static void destroy_inodecache(void)
 {
+       /*
+        * Make sure all delayed rcu free inodes are flushed before we
+        * destroy cache.
+        */
+       rcu_barrier();
        kmem_cache_destroy(isofs_inode_cachep);
 }