[CRIU] [PATCH 1/2] parasite: Drop unneeded PARASITE_CMD_PINGME
Cyrill Gorcunov
gorcunov at openvz.org
Wed Feb 1 03:03:20 EST 2012
It was used during early debug stage.
Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
include/parasite.h | 3 +--
parasite.c | 2 --
2 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/include/parasite.h b/include/parasite.h
index c6eb6bc..8a34efd 100644
--- a/include/parasite.h
+++ b/include/parasite.h
@@ -29,8 +29,7 @@
#define PARASITE_ERR_GETITIMER -1033
enum {
- PARASITE_CMD_PINGME,
- PARASITE_CMD_DUMPPAGES,
+ PARASITE_CMD_DUMPPAGES = 1,
PARASITE_CMD_DUMP_SIGACTS,
PARASITE_CMD_DUMP_ITIMERS,
PARASITE_CMD_DUMP_MISC,
diff --git a/parasite.c b/parasite.c
index 5ef08d8..0a4c06f 100644
--- a/parasite.c
+++ b/parasite.c
@@ -366,8 +366,6 @@ static int __used parasite_service(unsigned long cmd, void *args, void *brk)
BUILD_BUG_ON(sizeof(struct parasite_dump_file_args) > PARASITE_ARG_SIZE);
switch (cmd) {
- case PARASITE_CMD_PINGME:
- return 0;
case PARASITE_CMD_DUMPPAGES:
return dump_pages((struct parasite_dump_pages_args *)args);
case PARASITE_CMD_DUMP_SIGACTS:
--
1.7.7.6
More information about the CRIU
mailing list