]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - fs/hpfs/super.c
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
[mirror_ubuntu-jammy-kernel.git] / fs / hpfs / super.c
index a152783602d946361ef68eb61f81e28d0d9b2d82..bc28bf077a6abe92b4041be6f6057cd6815fd57b 100644 (file)
@@ -210,6 +210,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(hpfs_inode_cachep);
 }