]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - fs/qnx6/inode.c
fs: push rcu_barrier() from deactivate_locked_super() to filesystems
[karo-tx-linux.git] / fs / qnx6 / inode.c
index 2049c814bda475a7e02e9e4411d54cc74f304660..1b37fff7b5ff00b36a405e24d959775ec5568f20 100644 (file)
@@ -651,6 +651,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(qnx6_inode_cachep);
 }