Gitweb:
http://git.fedorahosted.org/git/?p=cluster.git;a=commitdiff;h=80b9ae57170...
Commit: 80b9ae57170c1c6042375ea5119aea1ec79e3ab4
Parent: 3ad66bb1d801147eee80f68afc543429b3a2f0d2
Author: Ryan McCabe <rmccabe(a)redhat.com>
AuthorDate: Thu Jun 9 11:29:24 2016 -0400
Committer: Ryan McCabe <rmccabe(a)redhat.com>
CommitterDate: Thu Jun 9 11:29:24 2016 -0400
rgmanager: Fix missing function prototype
Add a function prototype for lock_commit_cb so that we can properly
re-init the vf lock callbacks if we have lost and regained quorum.
Resolves: rhbz#1084053
Signed-off-by: Ryan McCabe <rmccabe(a)redhat.com>
---
rgmanager/src/daemons/main.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/rgmanager/src/daemons/main.c b/rgmanager/src/daemons/main.c
index 4831104..edd3d40 100644
--- a/rgmanager/src/daemons/main.c
+++ b/rgmanager/src/daemons/main.c
@@ -31,6 +31,9 @@
void dump_thread_states(FILE *);
#endif
static int configure_rgmanager(int ccsfd, int debug, int *cluster_timeout);
+static int lock_commit_cb(char __attribute__ ((unused)) *key,
+ uint64_t __attribute__ ((unused)) viewno,
+ void *data, uint32_t datalen);
void flag_shutdown(int sig);