]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - fs/nfs/file.c
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)
commitef070dcb3989f553f5d84edf555eebc7e204099d
tree57a10c226e43b7eb28b03786591164686d88fbf5
parent874f946376de57c8d6230b30ad71f742883fee3a
NFS: Don't write enable new pages while an invalidation is proceeding

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