diff options
-rw-r--r-- | kernel/fork.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/fork.c b/kernel/fork.c index e0d0b77343f8..1c1cf8dc396b 100644 --- a/kernel/fork.c +++ b/kernel/fork.c | |||
@@ -263,7 +263,7 @@ static inline int dup_mmap(struct mm_struct *mm, struct mm_struct *oldmm) | |||
263 | rb_parent = &tmp->vm_rb; | 263 | rb_parent = &tmp->vm_rb; |
264 | 264 | ||
265 | mm->map_count++; | 265 | mm->map_count++; |
266 | retval = copy_page_range(mm, oldmm, tmp); | 266 | retval = copy_page_range(mm, oldmm, mpnt); |
267 | 267 | ||
268 | if (tmp->vm_ops && tmp->vm_ops->open) | 268 | if (tmp->vm_ops && tmp->vm_ops->open) |
269 | tmp->vm_ops->open(tmp); | 269 | tmp->vm_ops->open(tmp); |