Search
j0ke.net Open Build Service
>
Projects
>
GFS
>
openais
> revision-1455.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File revision-1455.patch of Package openais
Index: exec/totemsrp.c =================================================================== --- exec/totemsrp.c (revision 1453) +++ exec/totemsrp.c (revision 1455) @@ -1779,15 +1779,10 @@ /* * Build regular configuration */ - instance->my_new_memb_entries = commit_token->addr_entries; - totemrrp_processor_count_set ( instance->totemrrp_handle, commit_token->addr_entries); - memcpy (instance->my_new_memb_list, addr, - sizeof (struct srp_addr) * instance->my_new_memb_entries); - /* * Build transitional configuration */ @@ -2598,6 +2593,11 @@ addr = (struct srp_addr *)commit_token->end_of_commit_token; memb_list = (struct memb_commit_token_memb_entry *)(addr + commit_token->addr_entries); + memcpy (instance->my_new_memb_list, addr, + sizeof (struct srp_addr) * commit_token->addr_entries); + + instance->my_new_memb_entries = commit_token->addr_entries; + memcpy (&memb_list[commit_token->memb_index].ring_id, &instance->my_old_ring_id, sizeof (struct memb_ring_id)); assert (!totemip_zero_check(&instance->my_old_ring_id.rep));