]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - fs/qnx6/inode.c
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
[mirror_ubuntu-jammy-kernel.git] / fs / qnx6 / inode.c
index f4eef0b5e7b5203a908ba40f2a4dc88a239a2e4c..b6addf560483f0877078946050d90efb1f7d2344 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);
 }