diff options
-rw-r--r-- | mm/mmap.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/mm/mmap.c b/mm/mmap.c index fb89360a2120..31003338b978 100644 --- a/mm/mmap.c +++ b/mm/mmap.c @@ -452,12 +452,10 @@ static void vma_link(struct mm_struct *mm, struct vm_area_struct *vma, spin_lock(&mapping->i_mmap_lock); vma->vm_truncate_count = mapping->truncate_count; } - vma_lock_anon_vma(vma); __vma_link(mm, vma, prev, rb_link, rb_parent); __vma_link_file(vma); - vma_unlock_anon_vma(vma); if (mapping) spin_unlock(&mapping->i_mmap_lock); |