cluster: RHEL6 - qdiskd: small tiny little cleanup
Lon Hohberger
lon at fedoraproject.org
Mon Feb 20 16:48:23 UTC 2012
Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=3624e3e0deed9eb3e6b4325a9ac3249dcb0a110a
Commit: 3624e3e0deed9eb3e6b4325a9ac3249dcb0a110a
Parent: 9d9f4836dd6c62fa1379c6d7f4e82eee265508cf
Author: Fabio M. Di Nitto <fdinitto at redhat.com>
AuthorDate: Sat Feb 18 04:56:21 2012 +0100
Committer: Lon Hohberger <lhh at redhat.com>
CommitterDate: Mon Feb 20 11:46:55 2012 -0500
qdiskd: small tiny little cleanup
Resolves: rhbz#678372
Signed-off-by: Fabio M. Di Nitto <fdinitto at redhat.com>
Signed-off-by: Lon Hohberger <lhh at redhat.com>
---
cman/qdisk/iostate.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/cman/qdisk/iostate.c b/cman/qdisk/iostate.c
index 06c6831..9050276 100644
--- a/cman/qdisk/iostate.c
+++ b/cman/qdisk/iostate.c
@@ -8,6 +8,7 @@
#include <stdint.h>
#include "platform.h"
#include "iostate.h"
+#include "../daemon/cnxman-socket.h"
static iostate_t main_state = 0;
static int main_incarnation = 0;
@@ -104,7 +105,7 @@ io_nanny_thread(void *arg)
/* Whine on CMAN api */
whine_state = (int32_t)current_main_state;
swab32(whine_state);
- cman_send_data(ch, &whine_state, sizeof(int32_t), 0, 178, 0);
+ cman_send_data(ch, &whine_state, sizeof(int32_t), 0, CLUSTER_PORT_QDISKD , 0);
/* Don't log things twice */
if (logged_incarnation == current_main_incarnation)
More information about the cluster-commits
mailing list