]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - fs/affs/super.c
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
[karo-tx-linux.git] / fs / affs / super.c
index 1f030825cd3a3f5cb77b5f938efb70a6bd6a018c..b84dc7352502df2976438435b2523f98d5d55966 100644 (file)
@@ -147,6 +147,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(affs_inode_cachep);
 }