| 204 | } |
| 205 | |
| 206 | static inline node_info_t *get_node_by_id(cluster_info_t *cluster, int node_id) |
| 207 | { |
| 208 | node_info_t *node; |
| 209 | |
| 210 | for (node = cluster->node_list; node; node = node->next) |
| 211 | if (node->node_id == node_id) |
| 212 | return node; |
| 213 | |
| 214 | return NULL; |
| 215 | } |
| 216 | |
| 217 | static inline int validate_update(int seq_no, int msg_seq_no, int timestamp, |
| 218 | int msg_timestamp, int val_type, int node_id) |
no outgoing calls
no test coverage detected