[sheepdog] [PATCH] ops: add missing type name for SD_OP_GET_OBJ_LIST

Liu Yuan namei.unix at gmail.com
Sun Aug 5 08:53:14 CEST 2012


From: Liu Yuan <tailai.ly at taobao.com>

- correct name for SD_OP_GET_EPOCH

Signed-off-by: Liu Yuan <tailai.ly at taobao.com>
---
 sheep/ops.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sheep/ops.c b/sheep/ops.c
index 2210173..945ebff 100644
--- a/sheep/ops.c
+++ b/sheep/ops.c
@@ -969,12 +969,13 @@ static struct sd_op_template sd_ops[] = {
 	},
 
 	[SD_OP_GET_OBJ_LIST] = {
+		.name = "GET_OBJ_LIST",
 		.type = SD_OP_TYPE_LOCAL,
 		.process_work = local_get_obj_list,
 	},
 
 	[SD_OP_GET_EPOCH] = {
-		.name = "GET_OBJ_LIST",
+		.name = "GET_EPOCH",
 		.type = SD_OP_TYPE_LOCAL,
 		.process_work = local_get_epoch,
 	},
-- 
1.7.10.2




More information about the sheepdog mailing list