Search
j0ke.net Open Build Service
>
Projects
>
GFS
:
experimental
>
openais
> revision-1423.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File revision-1423.patch of Package openais (Revision 1)
Currently displaying revision
1
,
show latest
Index: exec/ckpt.c =================================================================== --- exec/ckpt.c (revision 1422) +++ exec/ckpt.c (revision 1423) @@ -825,14 +825,7 @@ } my_lowest_nodeid = 0xffffffff; - for (i = 0; i < my_member_list_entries; i++) { - if ((my_member_list[i] != 0) && - (my_member_list[i] < my_lowest_nodeid)) { - my_lowest_nodeid = my_member_list[i]; - } - } - /* * Handle regular configuration */ @@ -842,6 +835,13 @@ my_member_list_entries = member_list_entries; memcpy (&my_saved_ring_id, ring_id, sizeof (struct memb_ring_id)); + for (i = 0; i < my_member_list_entries; i++) { + if ((my_member_list[i] != 0) && + (my_member_list[i] < my_lowest_nodeid)) { + + my_lowest_nodeid = my_member_list[i]; + } + } } } Index: exec/sync.c =================================================================== --- exec/sync.c (revision 1422) +++ exec/sync.c (revision 1423) @@ -452,6 +452,9 @@ { sync_ring_id = ring_id; + if (configuration_type != TOTEM_CONFIGURATION_REGULAR) { + return; + } if (sync_processing && sync_callbacks.sync_abort != NULL) { sync_callbacks.sync_abort (); }