File revision-1423.patch of Package openais (Revision 077f53fae2bdf618e97dab2e27324694)
Currently displaying revision 077f53fae2bdf618e97dab2e27324694, show latest
x
1
Index: exec/ckpt.c
2
===================================================================
3
--- exec/ckpt.c (revision 1422)
4
+++ exec/ckpt.c (revision 1423)
5
6
}
7
8
my_lowest_nodeid = 0xffffffff;
9
- for (i = 0; i < my_member_list_entries; i++) {
10
- if ((my_member_list[i] != 0) &&
11
- (my_member_list[i] < my_lowest_nodeid)) {
12
13
- my_lowest_nodeid = my_member_list[i];
14
- }
15
- }
16
-
17
/*
18
* Handle regular configuration
19
*/
20
21
my_member_list_entries = member_list_entries;
22
memcpy (&my_saved_ring_id, ring_id,
23
sizeof (struct memb_ring_id));
24
+ for (i = 0; i < my_member_list_entries; i++) {
25
+ if ((my_member_list[i] != 0) &&
26
+ (my_member_list[i] < my_lowest_nodeid)) {
27
+
28
+ my_lowest_nodeid = my_member_list[i];
29
+ }
30
+ }
31
}
32
}
33
34
Index: exec/sync.c
35
===================================================================
36
--- exec/sync.c (revision 1422)
37
+++ exec/sync.c (revision 1423)
38
39
{
40
sync_ring_id = ring_id;
41
42
+ if (configuration_type != TOTEM_CONFIGURATION_REGULAR) {
43
+ return;
44
+ }
45
if (sync_processing && sync_callbacks.sync_abort != NULL) {
46
sync_callbacks.sync_abort ();
47
}
48