[Sheepdog] [PATCH v5 3/7] sheep: remove wrong 'unknown message' in the log

Liu Yuan namei.unix at gmail.com
Wed Oct 19 12:06:18 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 615b365..a3841c6 100644
--- a/sheep/group.c
+++ b/sheep/group.c
@@ -1152,6 +1152,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