diff options
-rw-r--r-- | mm/rmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -147,7 +147,7 @@ int anon_vma_prepare(struct vm_area_struct *vma) | |||
147 | avc->anon_vma = anon_vma; | 147 | avc->anon_vma = anon_vma; |
148 | avc->vma = vma; | 148 | avc->vma = vma; |
149 | list_add(&avc->same_vma, &vma->anon_vma_chain); | 149 | list_add(&avc->same_vma, &vma->anon_vma_chain); |
150 | list_add(&avc->same_anon_vma, &anon_vma->head); | 150 | list_add_tail(&avc->same_anon_vma, &anon_vma->head); |
151 | allocated = NULL; | 151 | allocated = NULL; |
152 | avc = NULL; | 152 | avc = NULL; |
153 | } | 153 | } |