diff options
Diffstat (limited to 'mm/shmem.c')
-rw-r--r-- | mm/shmem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/shmem.c b/mm/shmem.c index 55e04a0734c1..6796311a23ef 100644 --- a/mm/shmem.c +++ b/mm/shmem.c | |||
@@ -1201,7 +1201,7 @@ static int shmem_populate(struct vm_area_struct *vma, | |||
1201 | page_cache_release(page); | 1201 | page_cache_release(page); |
1202 | return err; | 1202 | return err; |
1203 | } | 1203 | } |
1204 | } else { | 1204 | } else if (vma->vm_flags & VM_NONLINEAR) { |
1205 | /* No page was found just because we can't read it in | 1205 | /* No page was found just because we can't read it in |
1206 | * now (being here implies nonblock != 0), but the page | 1206 | * now (being here implies nonblock != 0), but the page |
1207 | * may exist, so set the PTE to fault it in later. */ | 1207 | * may exist, so set the PTE to fault it in later. */ |