diff options
author | Patrick Caulfield <pcaulfie@redhat.com> | 2005-01-21 11:35:24 +0000 |
---|---|---|
committer | Patrick Caulfield <pcaulfie@redhat.com> | 2005-01-21 11:35:24 +0000 |
commit | 6f4d25ec7f4af5baf0eae250e22840b2cad54f11 (patch) | |
tree | f948bccb3cff33a2ec1e216683a0a02dbba89aab /daemons/clvmd/clvmd-cman.c | |
parent | eaafeaaa0904c5f688825486727218fe804468ed (diff) | |
download | lvm2-6f4d25ec7f4af5baf0eae250e22840b2cad54f11.tar.gz |
Fix clvmd startup bug introduced in cman/gulm amalgamation. bz#145729
Improve reporting of node-specific locking errors so you'll get
somthing a little more helpfiul than "host is down" - it will now tell
you /which/ host it thinks is down.
Diffstat (limited to 'daemons/clvmd/clvmd-cman.c')
-rw-r--r-- | daemons/clvmd/clvmd-cman.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/daemons/clvmd/clvmd-cman.c b/daemons/clvmd/clvmd-cman.c index 3f8c7027a..d441b4ebf 100644 --- a/daemons/clvmd/clvmd-cman.c +++ b/daemons/clvmd/clvmd-cman.c @@ -104,6 +104,11 @@ static int _init_cluster(void) return 0; } +static void _cluster_init_completed(void) +{ + clvmd_cluster_init_completed(); +} + static int _get_main_cluster_fd() { return cluster_sock; @@ -507,7 +512,7 @@ static int _sync_unlock(const char *resource /* UNUSED */, int lockid) } static struct cluster_ops _cluster_cman_ops = { - .cluster_init_completed = NULL, + .cluster_init_completed = _cluster_init_completed, .cluster_send_message = _cluster_send_message, .name_from_csid = _name_from_csid, .csid_from_name = _csid_from_name, |