]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - fs/hfs/super.c
Merge branch 'for-john' of git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211
[karo-tx-linux.git] / fs / hfs / super.c
index 0b63d135a092e89c5251ba0f2b87aacd718827ea..e93ddaadfd1e445fa89e976c9692f2afa302094c 100644 (file)
@@ -492,6 +492,12 @@ static int __init init_hfs_fs(void)
 static void __exit exit_hfs_fs(void)
 {
        unregister_filesystem(&hfs_fs_type);
+
+       /*
+        * Make sure all delayed rcu free inodes are flushed before we
+        * destroy cache.
+        */
+       rcu_barrier();
        kmem_cache_destroy(hfs_inode_cachep);
 }