summaryrefslogtreecommitdiffstats
path: root/mm/mmap.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-11-17 03:21:36 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-11-17 03:21:36 +0100
commit98c4514ff6e3072288770db66f91bdb15af8b433 (patch)
treeeb5f2541e70d27144720e1735b463471025908f0 /mm/mmap.c
parentmisc: apds9802als: Fix the logic checking timeout in als_wait_for_data_ready() (diff)
parentLinux 3.7-rc6 (diff)
downloadlinux-98c4514ff6e3072288770db66f91bdb15af8b433.tar.xz
linux-98c4514ff6e3072288770db66f91bdb15af8b433.zip
Merge 3.7-rc6 into char-misc-next
Diffstat (limited to 'mm/mmap.c')
-rw-r--r--mm/mmap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mm/mmap.c b/mm/mmap.c
index b064822be82e..7d416055f08c 100644
--- a/mm/mmap.c
+++ b/mm/mmap.c
@@ -348,8 +348,10 @@ void validate_mm(struct mm_struct *mm)
struct vm_area_struct *vma = mm->mmap;
while (vma) {
struct anon_vma_chain *avc;
+ vma_lock_anon_vma(vma);
list_for_each_entry(avc, &vma->anon_vma_chain, same_vma)
anon_vma_interval_tree_verify(avc);
+ vma_unlock_anon_vma(vma);
vma = vma->vm_next;
i++;
}