2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-31 06:15:24 +00:00

protobuf: Convert vma_entry to PB format v3

v2:
 - Use regular uint types in message proto
 - Use PB engine for "show"
v3:
 - drop usage of temp. variable in prepare_shmem_pid

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Cyrill Gorcunov
2012-07-19 12:43:36 +04:00
committed by Pavel Emelyanov
parent ffd40996ea
commit 4806e1395f
16 changed files with 63 additions and 59 deletions

View File

@@ -531,7 +531,7 @@ err:
return ret;
}
int get_filemap_fd(int pid, struct vma_entry *vma_entry)
int get_filemap_fd(int pid, VmaEntry *vma_entry)
{
return open_reg_by_id(vma_entry->shmid);
}