1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

Fix clvmd bug that could cause it to die when a node with a long name crashed.

This commit is contained in:
Patrick Caulfield 2006-10-06 10:06:10 +00:00
parent 209f03f2b6
commit e37a241536
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
Version 2.02.11 - Version 2.02.11 -
===================================== =====================================
Fix clvmd bug that could cause it to die when a node with a long name crashed.
Fix format_text mda_setup pv->size and pv_setup pe_count calculations. Fix format_text mda_setup pv->size and pv_setup pe_count calculations.
Fix _for_each_pv() for mirror with core log. Fix _for_each_pv() for mirror with core log.
Add lvm_dump.sh script to create a tarball of debugging info from a system. Add lvm_dump.sh script to create a tarball of debugging info from a system.

View File

@ -172,7 +172,7 @@ static int _cluster_do_node_callback(struct local_client *client,
this currently just means that a node has stopped listening on our port */ this currently just means that a node has stopped listening on our port */
static void event_callback(cman_handle_t handle, void *private, int reason, int arg) static void event_callback(cman_handle_t handle, void *private, int reason, int arg)
{ {
char namebuf[MAX_CLUSTER_NAME_LEN]; char namebuf[MAX_CLUSTER_MEMBER_NAME_LEN];
switch (reason) { switch (reason) {
case CMAN_REASON_PORTCLOSED: case CMAN_REASON_PORTCLOSED: