[PATCH] NFS: Fix races in nfs_revalidate_mapping()
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 24 Jan 2007 19:54:55 +0000 (11:54 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 24 Jan 2007 20:31:06 +0000 (12:31 -0800)
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>

No differences found