mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-30 13:58:34 +00:00
Rename execute_image to prepare_and_execute_image
Signed-off-by: Pavel Emelyanov <xemul@parallels.com> Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
parent
640e5c46be
commit
c416a033f9
@ -821,7 +821,7 @@ static int prepare_image_maps(int fd, int pid)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int execute_image(int pid)
|
static int prepare_and_execute_image(int pid)
|
||||||
{
|
{
|
||||||
char path[128], elf_path[128];
|
char path[128], elf_path[128];
|
||||||
int fd, fd_new;
|
int fd, fd_new;
|
||||||
@ -1081,7 +1081,7 @@ static int restore_one_task(int pid)
|
|||||||
if (prepare_shmem(pid))
|
if (prepare_shmem(pid))
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
return execute_image(pid);
|
return prepare_and_execute_image(pid);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int do_child(void *arg)
|
static int do_child(void *arg)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user