]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - fs/xfs/xfs_super.c
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
[karo-tx-linux.git] / fs / xfs / xfs_super.c
index 001537f92caf10becdaa26ab27ee2f944e489511..e0fd2734189ee561478cb8dfdd427baf6168ecfc 100644 (file)
@@ -1506,6 +1506,11 @@ xfs_init_zones(void)
 STATIC void
 xfs_destroy_zones(void)
 {
+       /*
+        * Make sure all delayed rcu free are flushed before we
+        * destroy caches.
+        */
+       rcu_barrier();
        kmem_zone_destroy(xfs_ili_zone);
        kmem_zone_destroy(xfs_inode_zone);
        kmem_zone_destroy(xfs_efi_zone);