2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-31 14:25:49 +00:00

crtools: Don't hold pid on vma image

It's pointless. All vmas are stored in the per-pid image file.

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
Pavel Emelyanov
2011-11-23 13:53:02 +04:00
committed by Cyrill Gorcunov
parent 64f867f54e
commit fb44c9d82b
2 changed files with 1 additions and 4 deletions

4
util.c
View File

@@ -176,14 +176,13 @@ void printk_vma(struct vma_area *vma_area)
return;
printk("s: %16lx e: %16lx l: %4liK p: %8x f: %8x pg: %8lx "
"fd: %4d pid: %4d dev:%02x:%02x:%08lx vf: %s st: %s spc: %s\n",
"fd: %4d dev:%02x:%02x:%08lx vf: %s st: %s spc: %s\n",
vma_area->vma.start, vma_area->vma.end,
vma_area_len(vma_area) >> 10,
vma_area->vma.prot,
vma_area->vma.flags,
vma_area->vma.pgoff,
vma_area->vma.fd,
vma_area->vma.pid,
vma_area->vma.dev_maj,
vma_area->vma.dev_min,
vma_area->vma.ino,
@@ -304,7 +303,6 @@ int parse_maps(pid_t pid, struct list_head *vma_area_list, bool use_map_files)
}
}
vma_area->vma.pid = pid;
vma_area->vma.start = start;
vma_area->vma.end = end;
vma_area->vma.pgoff = pgoff;