Skip to content
Snippets Groups Projects
Commit bc4866b6 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

NFS: Don't SIGBUS if nfs_vm_page_mkwrite races with a cache invalidation


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: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
Cc: stable@kernel.org
parent 955a857e
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment