Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph...
[deliverable/linux.git] / fs / ceph / super.c
index 1a144001b2e1eab74b8cde4c00c0fedb2d9aeec9..e86aa9948124b3601e1734515e4fb629627855de 100644 (file)
@@ -616,6 +616,11 @@ bad_cap:
 
 static void destroy_caches(void)
 {
+       /*
+        * Make sure all delayed rcu free inodes are flushed before we
+        * destroy cache.
+        */
+       rcu_barrier();
        kmem_cache_destroy(ceph_inode_cachep);
        kmem_cache_destroy(ceph_cap_cachep);
        kmem_cache_destroy(ceph_dentry_cachep);
This page took 0.024936 seconds and 5 git commands to generate.