mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-24 10:38:06 +00:00
vma: Don't copy VmaEntry on vma_area
After previous patch is't now possible. Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
parent
eb1ae0a025
commit
ed836740ba
1 changed files with 1 additions and 2 deletions
3
mem.c
3
mem.c
|
|
@ -371,9 +371,8 @@ int prepare_mm_pid(struct pstree_item *i)
|
|||
}
|
||||
|
||||
ri->vmas.nr++;
|
||||
*vma->e = *vi;
|
||||
vma->e = vi;
|
||||
list_add_tail(&vma->list, &ri->vmas.h);
|
||||
vma_entry__free_unpacked(vi, NULL);
|
||||
|
||||
if (vma_priv(vma->e)) {
|
||||
ri->vmas.priv_size += vma_area_len(vma);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue