NFS: Don't write enable new pages while an invalidation is proceeding
authorTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 3 Mar 2015 05:06:35 +0000 (00:06 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 3 Mar 2015 18:58:08 +0000 (13:58 -0500)
nfs_vm_page_mkwrite() should wait until the page cache invalidation
is finished. This is the second patch in a 2 patch series to deprecate
the NFS client's reliance on nfs_release_page() in the context of
nfs_invalidate_mapping().

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/file.c
fs/nfs/inode.c

diff --cc fs/nfs/file.c
Simple merge
diff --cc fs/nfs/inode.c
Simple merge