Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NFS: Don't SIGBUS if nfs_vm_page_mkwrite races with a cache invalidation
commit bc4866b upstream. In the case where we lock the page, and then find out that the page has been thrown out of the page cache, we should just return VM_FAULT_NOPAGE. This is what block_page_mkwrite() does in these situations. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Andi Kleen <ak@linux.intel.com>
- Loading branch information