2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-09-05 00:35:23 +00:00

mm: move shmid to vma_entry (v2)

It will be used to restore shared mappings

v2: clean up

Signed-off-by: Andrey Vagin <avagin@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Andrey Vagin
2012-03-21 10:11:00 +04:00
committed by Pavel Emelyanov
parent 7d10875076
commit 37a6c1fc88
5 changed files with 4 additions and 5 deletions

View File

@@ -157,7 +157,6 @@ extern void pr_vma(unsigned int loglevel, const struct vma_area *vma_area);
({ \
struct vma_area *p__ = xzalloc(sizeof(*p__)); \
if (p__) { \
p__->shmid = -1; \
p__->vm_file_fd = -1; \
p__->vma.fd = -1; \
} \