diff options
-rw-r--r-- | mm/shmem.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/shmem.c b/mm/shmem.c index 88593586bdb7..91ce9a1024d7 100644 --- a/mm/shmem.c +++ b/mm/shmem.c | |||
@@ -2793,5 +2793,6 @@ int shmem_zero_setup(struct vm_area_struct *vma) | |||
2793 | fput(vma->vm_file); | 2793 | fput(vma->vm_file); |
2794 | vma->vm_file = file; | 2794 | vma->vm_file = file; |
2795 | vma->vm_ops = &shmem_vm_ops; | 2795 | vma->vm_ops = &shmem_vm_ops; |
2796 | vma->vm_flags |= VM_CAN_NONLINEAR; | ||
2796 | return 0; | 2797 | return 0; |
2797 | } | 2798 | } |