diff options
Diffstat (limited to 'mm')
-rw-r--r-- | mm/memory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/memory.c b/mm/memory.c index a596c1172248..b25f5e58a14c 100644 --- a/mm/memory.c +++ b/mm/memory.c | |||
@@ -1955,7 +1955,7 @@ static int do_file_page(struct mm_struct * mm, struct vm_area_struct * vma, | |||
1955 | * Fall back to the linear mapping if the fs does not support | 1955 | * Fall back to the linear mapping if the fs does not support |
1956 | * ->populate: | 1956 | * ->populate: |
1957 | */ | 1957 | */ |
1958 | if (!vma->vm_ops || !vma->vm_ops->populate || | 1958 | if (!vma->vm_ops->populate || |
1959 | (write_access && !(vma->vm_flags & VM_SHARED))) { | 1959 | (write_access && !(vma->vm_flags & VM_SHARED))) { |
1960 | pte_clear(mm, address, pte); | 1960 | pte_clear(mm, address, pte); |
1961 | return do_no_page(mm, vma, address, write_access, pte, pmd); | 1961 | return do_no_page(mm, vma, address, write_access, pte, pmd); |