]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - fs/qnx4/inode.c
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
[mirror_ubuntu-jammy-kernel.git] / fs / qnx4 / inode.c
index 5c3c7b02e17b7f6d91af741e668e1ab1a9db1b87..43098bb5723af2890acaaa8d2f3a86a37fc7b811 100644 (file)
@@ -391,6 +391,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(qnx4_inode_cachep);
 }