Commit 6a5188a2 authored by Pavel Emelyanov's avatar Pavel Emelyanov

vma: Use vma_area_is helper where appropriate (p2)

Lost from c8d5f1a2Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 3d8f7b07
......@@ -383,8 +383,8 @@ int prepare_mm_pid(struct pstree_item *i)
pr_info("vma 0x%"PRIx64" 0x%"PRIx64"\n", vma->vma.start, vma->vma.end);
if (!vma_entry_is(&vma->vma, VMA_ANON_SHARED) ||
vma_entry_is(&vma->vma, VMA_AREA_SYSVIPC))
if (!vma_area_is(vma, VMA_ANON_SHARED) ||
vma_area_is(vma, VMA_AREA_SYSVIPC))
continue;
ret = collect_shmem(pid, &vma->vma);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment