commit | 717d44e849219781ced028a40fcc59d3e1f49e4c | [log] [tgz] |
---|---|---|
author | Trond Myklebust <Trond.Myklebust@netapp.com> | Wed Jan 24 11:54:55 2007 -0800 |
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | Wed Jan 24 12:31:06 2007 -0800 |
tree | aa34a9b84377d18ff58901cc342b84c7e8b81dca | |
parent | bde8f00ce64d9824a4f227c8594e335a1a10d044 [diff] |
[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 <Trond.Myklebust@netapp.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>