[CRIU] [PATCH 4/4] restore: remove an unused field from task_restore_core_args

Andrey Vagin avagin at openvz.org
Fri Dec 21 09:14:12 EST 2012


Signed-off-by: Andrey Vagin <avagin at openvz.org>
---
 cr-restore.c       | 2 --
 include/restorer.h | 1 -
 2 files changed, 3 deletions(-)

diff --git a/cr-restore.c b/cr-restore.c
index 8fe6288..7169a87 100644
--- a/cr-restore.c
+++ b/cr-restore.c
@@ -1801,8 +1801,6 @@ static int sigreturn_restore(pid_t pid, CoreEntry *core)
 	new_sp = RESTORE_ALIGN_STACK((long)task_args->t->mem_zone.stack,
 			sizeof(task_args->t->mem_zone.stack));
 
-	task_args->ids			= *core->ids;
-
 	/* No longer need it */
 	core_entry__free_unpacked(core, NULL);
 
diff --git a/include/restorer.h b/include/restorer.h
index 2d33635..00d26f7 100644
--- a/include/restorer.h
+++ b/include/restorer.h
@@ -115,7 +115,6 @@ struct task_restore_core_args {
 	u64				mm_saved_auxv[AT_VECTOR_SIZE];
 	u32				mm_saved_auxv_size;
 	char				comm[TASK_COMM_LEN];
-	TaskKobjIdsEntry		ids;
 
 	int				*rst_tcp_socks;
 	int				rst_tcp_socks_size;
-- 
1.7.11.7



More information about the CRIU mailing list