From: Trond Myklebust Date: Mon, 4 Oct 2010 21:59:08 +0000 (-0400) Subject: NFS: Don't SIGBUS if nfs_vm_page_mkwrite races with a cache invalidation X-Git-Tag: v2.6.37-rc1~120^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc4866b6e0b44f8ea0df22a16e5927714beb4983;p=pandora-kernel.git 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: Trond Myklebust Cc: stable@kernel.org --- Reading git-diff-tree failed