mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 14:25:49 +00:00
parasite: remove code which used for daemonized threads
Signed-off-by: Andrey Vagin <avagin@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
committed by
Pavel Emelyanov
parent
08377fe90b
commit
11d3adbf56
4
mem.c
4
mem.c
@@ -373,14 +373,14 @@ static int __parasite_dump_pages_seized(struct parasite_ctl *ctl,
|
||||
pr_debug("PPB: %d pages %d segs %u pipe %d off\n",
|
||||
args->nr_pages, args->nr_segs, ppb->pipe_size, args->off);
|
||||
|
||||
ret = __parasite_execute_daemon_by_id(PARASITE_CMD_DUMPPAGES, ctl, 0, false);
|
||||
ret = __parasite_execute_daemon(PARASITE_CMD_DUMPPAGES, ctl, false);
|
||||
if (ret < 0)
|
||||
goto out_pp;
|
||||
ret = parasite_send_fd(ctl, ppb->p[1]);
|
||||
if (ret)
|
||||
goto out_pp;
|
||||
|
||||
ret = __parasite_execute_daemon_wait_ack(PARASITE_CMD_DUMPPAGES, ctl, 0);
|
||||
ret = __parasite_execute_daemon_wait_ack(PARASITE_CMD_DUMPPAGES, ctl);
|
||||
if (ret < 0)
|
||||
goto out_pp;
|
||||
|
||||
|
Reference in New Issue
Block a user