diff options
author | 2010-10-04 17:59:08 -0400 | |
---|---|---|
committer | 2010-10-19 19:37:54 -0400 | |
commit | bc4866b6e0b44f8ea0df22a16e5927714beb4983 (patch) | |
tree | be5249600ca096b2ea4cf0ad6d8eea73cdeed966 /kernel/workqueue.c | |
parent | NFS: new idmapper (diff) | |
download | linux-rng-bc4866b6e0b44f8ea0df22a16e5927714beb4983.tar.xz linux-rng-bc4866b6e0b44f8ea0df22a16e5927714beb4983.zip |
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 <Trond.Myklebust@netapp.com>
Cc: stable@kernel.org
Diffstat (limited to 'kernel/workqueue.c')
0 files changed, 0 insertions, 0 deletions