diff options
author | Christine Caulfield <ccaulfie@redhat.com> | 2008-04-29 08:55:20 +0000 |
---|---|---|
committer | Christine Caulfield <ccaulfie@redhat.com> | 2008-04-29 08:55:20 +0000 |
commit | 9154a74400853fb71dd51c8d3511c00a18f6930f (patch) | |
tree | b7a045d54a3fa5456239afcaac22d74ff33b97fb /daemons | |
parent | 1399b84b32f0b9c79befa2338b0d9205dd10958e (diff) | |
download | lvm2-9154a74400853fb71dd51c8d3511c00a18f6930f.tar.gz |
. remove_lock_wait.diff remove the definition of "struct lock_wait",
which is not used since the switch away from async version saLck
. num_nodes should equal to member_list_entries, i.e.
joined_list_entires is 0 when a node leaves the group.
Thanks to Xinwei Hu for the patch.
Diffstat (limited to 'daemons')
-rw-r--r-- | daemons/clvmd/clvmd-openais.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/daemons/clvmd/clvmd-openais.c b/daemons/clvmd/clvmd-openais.c index 8bb5b958c..2725b5e84 100644 --- a/daemons/clvmd/clvmd-openais.c +++ b/daemons/clvmd/clvmd-openais.c @@ -100,13 +100,6 @@ struct lock_info SaNameT lock_name; }; -struct lock_wait -{ - pthread_cond_t cond; - pthread_mutex_t mutex; - int status; -}; - /* Set errno to something approximating the right value and return 0 or -1 */ static int ais_to_errno(SaAisErrorT err) { @@ -313,7 +306,7 @@ static void cpg_confchg_callback(cpg_handle_t handle, ninfo->state = NODE_CLVMD; } - num_nodes = joined_list_entries; + num_nodes = member_list_entries; } static int lck_dispatch(struct local_client *client, char *buf, int len, |