[Sheepdog] [PATCH v2 2/5] sheep: remove wrong 'unknown message' in the log

Liu Yuan namei.unix at gmail.com
Sun Oct 16 12:35:12 CEST 2011


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

Add a swtich case for the __sd_notify_done() to remove the wrong log message.

Signed-off-by: Liu Yuan <tailai.ly at taobao.com>
---
 sheep/group.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/sheep/group.c b/sheep/group.c
index a054c22..6a94f01 100644
--- a/sheep/group.c
+++ b/sheep/group.c
@@ -1154,6 +1154,8 @@ static void __sd_notify_done(struct cpg_event *cevent)
 				}
 			}
 			break;
+		case SD_MSG_VDI_OP:
+			break;
 		default:
 			eprintf("unknown message %d\n", m->op);
 			break;
-- 
1.7.6.1




More information about the sheepdog mailing list