From: Trond Myklebust Date: Wed, 24 Jan 2007 19:54:55 +0000 (-0800) Subject: [PATCH] NFS: Fix races in nfs_revalidate_mapping() X-Git-Tag: v2.6.20-rc6~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=717d44e849219781ced028a40fcc59d3e1f49e4c;p=pandora-kernel.git [PATCH] NFS: Fix races in nfs_revalidate_mapping() Prevent the call to invalidate_inode_pages2() from racing with file writes by taking the inode->i_mutex across the page cache flush and invalidate. Signed-off-by: Trond Myklebust Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed