Commit 26aa61a3 authored by Pavel Emelyanov's avatar Pavel Emelyanov

rst: Rename read_vmas into prepare_vmas

Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 8ff15e5c
...@@ -418,7 +418,7 @@ err_addr: ...@@ -418,7 +418,7 @@ err_addr:
return -1; return -1;
} }
static int read_vmas(int pid) static int prepare_mappings(int pid)
{ {
int fd, ret = 0; int fd, ret = 0;
LIST_HEAD(parent_vmas); LIST_HEAD(parent_vmas);
...@@ -1142,7 +1142,7 @@ static int restore_task_with_children(void *_arg) ...@@ -1142,7 +1142,7 @@ static int restore_task_with_children(void *_arg)
exit(1); exit(1);
} }
if (read_vmas(pid)) if (prepare_mappings(pid))
exit(1); exit(1);
if ( !(ca->clone_flags & CLONE_FILES)) { if ( !(ca->clone_flags & CLONE_FILES)) {
......
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