diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2010-10-04 17:59:08 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-12-09 13:32:21 -0800 |
commit | 34e1c8500cfcd5ce450322d12d4ab3b1930c407d (patch) | |
tree | 075f2c916d67cffde396b4094e3278ef932c29d3 /drivers/gpu | |
parent | a6b346485b11f4dafa0d67018aae4e703dac618a (diff) |
NFS: Don't SIGBUS if nfs_vm_page_mkwrite races with a cache invalidation
commit bc4866b6e0b44f8ea0df22a16e5927714beb4983 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>
Diffstat (limited to 'drivers/gpu')
0 files changed, 0 insertions, 0 deletions