diff --git a/fs/userfaultfd.c b/fs/userfaultfd.c index 973607df579db324e64da1c3c26999d60853fa80..f62199b90fd01cd78797b06cb8fd4320033e8792 100644 --- a/fs/userfaultfd.c +++ b/fs/userfaultfd.c @@ -490,7 +490,7 @@ int handle_userfault(struct vm_fault *vmf, unsigned long reason) * in such case. */ down_read(&mm->mmap_sem); - ret = 0; + ret = VM_FAULT_NOPAGE; } }