Signed-off-by: Christoph Hellwig <[email protected]>
---
include/internal_proto.h | 2 --
sheep/ops.c | 11 -----------
2 files changed, 13 deletions(-)
Index: sheepdog/include/internal_proto.h
===================================================================
--- sheepdog.orig/include/internal_proto.h 2012-07-06 13:37:41.706568581
+0200
+++ sheepdog/include/internal_proto.h 2012-07-06 13:37:59.956568470 +0200
@@ -36,12 +36,10 @@
*/
#define SD_OP_DEL_VDI 0x81
#define SD_OP_GET_NODE_LIST 0x82
-#define SD_OP_GET_VM_LIST 0x83
#define SD_OP_MAKE_FS 0x84
#define SD_OP_SHUTDOWN 0x85
#define SD_OP_STAT_SHEEP 0x86
#define SD_OP_STAT_CLUSTER 0x87
-#define SD_OP_KILL_NODE 0x88
#define SD_OP_GET_VDI_ATTR 0x89
#define SD_OP_RECOVER 0x8a
#define SD_OP_GET_STORE_LIST 0x90
Index: sheepdog/sheep/ops.c
===================================================================
--- sheepdog.orig/sheep/ops.c 2012-07-06 13:37:41.706568581 +0200
+++ sheepdog/sheep/ops.c 2012-07-06 13:37:53.256568513 +0200
@@ -380,11 +380,6 @@ static int local_stat_cluster(struct req
}
}
-static int local_kill_node(struct request *req)
-{
- exit(1);
-}
-
static int local_get_obj_list(struct request *req)
{
return get_obj_list((const struct sd_list_req *)&req->rq,
@@ -874,12 +869,6 @@ static struct sd_op_template sd_ops[] =
.process_work = local_stat_cluster,
},
- [SD_OP_KILL_NODE] = {
- .type = SD_OP_TYPE_LOCAL,
- .force = 1,
- .process_work = local_kill_node,
- },
-
[SD_OP_GET_OBJ_LIST] = {
.type = SD_OP_TYPE_LOCAL,
.process_work = local_get_obj_list,
--
sheepdog mailing list
[email protected]
http://lists.wpkg.org/mailman/listinfo/sheepdog