[CRIU] [PATCH] kdat: remove cr-exec shambles
Dmitry Safonov
dsafonov at virtuozzo.com
Fri Apr 21 04:16:35 PDT 2017
As cr-exec is deprecated-removed, drop ruins.
Signed-off-by: Dmitry Safonov <dsafonov at virtuozzo.com>
---
criu/include/crtools.h | 1 -
criu/include/kerndat.h | 1 -
criu/kerndat.c | 11 -----------
3 files changed, 13 deletions(-)
diff --git a/criu/include/crtools.h b/criu/include/crtools.h
index efd84aedac62..23ede4b4c6e0 100644
--- a/criu/include/crtools.h
+++ b/criu/include/crtools.h
@@ -20,7 +20,6 @@ extern int cr_pre_dump_tasks(pid_t pid);
extern int cr_restore_tasks(void);
extern int convert_to_elf(char *elf_path, int fd_core);
extern int cr_check(void);
-extern int cr_exec(int pid, char **opts);
extern int cr_dedup(void);
extern int cr_lazy_pages(bool daemon);
diff --git a/criu/include/kerndat.h b/criu/include/kerndat.h
index 60c69c3e1978..7891e5bb2fdf 100644
--- a/criu/include/kerndat.h
+++ b/criu/include/kerndat.h
@@ -12,7 +12,6 @@ struct stat;
extern int kerndat_init(void);
extern int kerndat_init_rst(void);
-extern int kerndat_init_cr_exec(void);
extern int kerndat_get_dirty_track(void);
extern int kerndat_fdinfo_has_lock(void);
extern int kerndat_loginuid(bool only_dump);
diff --git a/criu/kerndat.c b/criu/kerndat.c
index 22dd1e8c4224..48956aaba233 100644
--- a/criu/kerndat.c
+++ b/criu/kerndat.c
@@ -704,14 +704,3 @@ int kerndat_init_rst(void)
return ret;
}
-
-int kerndat_init_cr_exec(void)
-{
- int ret;
-
- ret = get_task_size();
- if (!ret)
- ret = kerndat_compat_restore();
-
- return ret;
-}
--
2.12.2
More information about the CRIU
mailing list