[CRIU] [PATCH 1/7] pre-dump: Don't use ctl->pid
Pavel Emelyanov
xemul at virtuozzo.com
Wed Sep 28 00:41:21 PDT 2016
We have pstree_item there.
Signed-off-by: Pavel Emelyanov <xemul at virtuozzo.com>
---
criu/cr-dump.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/criu/cr-dump.c b/criu/cr-dump.c
index 660ba43..2b4e680 100644
--- a/criu/cr-dump.c
+++ b/criu/cr-dump.c
@@ -1470,9 +1470,9 @@ static int cr_pre_dump_finish(int ret)
if (!ctl)
continue;
- pr_info("\tPre-dumping %d\n", ctl->pid.virt);
+ pr_info("\tPre-dumping %d\n", item->pid.virt);
timing_start(TIME_MEMWRITE);
- ret = open_page_xfer(&xfer, CR_FD_PAGEMAP, ctl->pid.virt);
+ ret = open_page_xfer(&xfer, CR_FD_PAGEMAP, item->pid.virt);
if (ret < 0)
goto err;
--
2.5.0
More information about the CRIU
mailing list