VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> 2012-09-26 11:33:07 +1000 committer: Al Viro <viro@zeniv.linux.org.uk> 2012-10-02 21:35:55 -0400 commit: 8c0a85377048b64c880e76ec7368904fe46d0b94 parent: 99621b44aa194eab594e1f17217231c02b519211
Commit Summary:
fs: push rcu_barrier() from deactivate_locked_super() to filesystems
Diffstat:
1 file changed, 5 insertions, 0 deletions
diff --git a/fs/qnx4/inode.c b/fs/qnx4/inode.c
index 552e994e3aa1..9534b4f76579 100644
--- a/fs/qnx4/inode.c
+++ b/fs/qnx4/inode.c
@@ -391,6 +391,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(qnx4_inode_cachep);
 }