]> Git Repo - linux.git/blobdiff - fs/proc/task_nommu.c
Merge branch 'topic/ice1724-pm' into for-linus
[linux.git] / fs / proc / task_nommu.c
index 64a72e2e76509545bf6c0d4d4e0788779baaab26..8f5c05d3dbd3e2aaa4abcd3fcc92af79e324daca 100644 (file)
@@ -189,6 +189,7 @@ static void *m_start(struct seq_file *m, loff_t *pos)
                priv->task = NULL;
                return NULL;
        }
+       down_read(&mm->mmap_sem);
 
        /* start from the Nth VMA */
        for (p = rb_first(&mm->mm_rb); p; p = rb_next(p))
This page took 0.031418 seconds and 4 git commands to generate.