diff options
| author | Michal Marek <mmarek@suse.cz> | 2010-08-04 08:05:07 -0400 | 
|---|---|---|
| committer | Michal Marek <mmarek@suse.cz> | 2010-08-04 08:05:07 -0400 | 
| commit | 7a996d3ab150bb0e1b71fa182f70199a703efdd1 (patch) | |
| tree | 96a36947d90c9b96580899abd38cb3b70cd9d40b /net/tipc/node.c | |
| parent | 7cf3d73b4360e91b14326632ab1aeda4cb26308d (diff) | |
| parent | 9fe6206f400646a2322096b56c59891d530e8d51 (diff) | |
Merge commit 'v2.6.35' into kbuild/kconfig
Conflicts:
	scripts/kconfig/Makefile
Diffstat (limited to 'net/tipc/node.c')
| -rw-r--r-- | net/tipc/node.c | 14 | 
1 files changed, 7 insertions, 7 deletions
diff --git a/net/tipc/node.c b/net/tipc/node.c index 2c24e7d6d950..b634942caba5 100644 --- a/net/tipc/node.c +++ b/net/tipc/node.c  | |||
| @@ -268,7 +268,7 @@ struct tipc_node *tipc_node_attach_link(struct link *l_ptr) | |||
| 268 | 268 | ||
| 269 | if (n_ptr->link_cnt >= 2) { | 269 | if (n_ptr->link_cnt >= 2) { | 
| 270 | err("Attempt to create third link to %s\n", | 270 | err("Attempt to create third link to %s\n", | 
| 271 | addr_string_fill(addr_string, n_ptr->addr)); | 271 | tipc_addr_string_fill(addr_string, n_ptr->addr)); | 
| 272 | return NULL; | 272 | return NULL; | 
| 273 | } | 273 | } | 
| 274 | 274 | ||
| @@ -278,9 +278,9 @@ struct tipc_node *tipc_node_attach_link(struct link *l_ptr) | |||
| 278 | n_ptr->link_cnt++; | 278 | n_ptr->link_cnt++; | 
| 279 | return n_ptr; | 279 | return n_ptr; | 
| 280 | } | 280 | } | 
| 281 | err("Attempt to establish second link on <%s> to %s \n", | 281 | err("Attempt to establish second link on <%s> to %s\n", | 
| 282 | l_ptr->b_ptr->publ.name, | 282 | l_ptr->b_ptr->publ.name, | 
| 283 | addr_string_fill(addr_string, l_ptr->addr)); | 283 | tipc_addr_string_fill(addr_string, l_ptr->addr)); | 
| 284 | } | 284 | } | 
| 285 | return NULL; | 285 | return NULL; | 
| 286 | } | 286 | } | 
| @@ -439,7 +439,7 @@ static void node_lost_contact(struct tipc_node *n_ptr) | |||
| 439 | return; | 439 | return; | 
| 440 | 440 | ||
| 441 | info("Lost contact with %s\n", | 441 | info("Lost contact with %s\n", | 
| 442 | addr_string_fill(addr_string, n_ptr->addr)); | 442 | tipc_addr_string_fill(addr_string, n_ptr->addr)); | 
| 443 | 443 | ||
| 444 | /* Abort link changeover */ | 444 | /* Abort link changeover */ | 
| 445 | for (i = 0; i < MAX_BEARERS; i++) { | 445 | for (i = 0; i < MAX_BEARERS; i++) { | 
| @@ -602,7 +602,7 @@ u32 tipc_available_nodes(const u32 domain) | |||
| 602 | 602 | ||
| 603 | read_lock_bh(&tipc_net_lock); | 603 | read_lock_bh(&tipc_net_lock); | 
| 604 | for (n_ptr = tipc_nodes; n_ptr; n_ptr = n_ptr->next) { | 604 | for (n_ptr = tipc_nodes; n_ptr; n_ptr = n_ptr->next) { | 
| 605 | if (!in_scope(domain, n_ptr->addr)) | 605 | if (!tipc_in_scope(domain, n_ptr->addr)) | 
| 606 | continue; | 606 | continue; | 
| 607 | if (tipc_node_is_up(n_ptr)) | 607 | if (tipc_node_is_up(n_ptr)) | 
| 608 | cnt++; | 608 | cnt++; | 
| @@ -651,7 +651,7 @@ struct sk_buff *tipc_node_get_nodes(const void *req_tlv_area, int req_tlv_space) | |||
| 651 | /* Add TLVs for all nodes in scope */ | 651 | /* Add TLVs for all nodes in scope */ | 
| 652 | 652 | ||
| 653 | for (n_ptr = tipc_nodes; n_ptr; n_ptr = n_ptr->next) { | 653 | for (n_ptr = tipc_nodes; n_ptr; n_ptr = n_ptr->next) { | 
| 654 | if (!in_scope(domain, n_ptr->addr)) | 654 | if (!tipc_in_scope(domain, n_ptr->addr)) | 
| 655 | continue; | 655 | continue; | 
| 656 | node_info.addr = htonl(n_ptr->addr); | 656 | node_info.addr = htonl(n_ptr->addr); | 
| 657 | node_info.up = htonl(tipc_node_is_up(n_ptr)); | 657 | node_info.up = htonl(tipc_node_is_up(n_ptr)); | 
| @@ -711,7 +711,7 @@ struct sk_buff *tipc_node_get_links(const void *req_tlv_area, int req_tlv_space) | |||
| 711 | for (n_ptr = tipc_nodes; n_ptr; n_ptr = n_ptr->next) { | 711 | for (n_ptr = tipc_nodes; n_ptr; n_ptr = n_ptr->next) { | 
| 712 | u32 i; | 712 | u32 i; | 
| 713 | 713 | ||
| 714 | if (!in_scope(domain, n_ptr->addr)) | 714 | if (!tipc_in_scope(domain, n_ptr->addr)) | 
| 715 | continue; | 715 | continue; | 
| 716 | tipc_node_lock(n_ptr); | 716 | tipc_node_lock(n_ptr); | 
| 717 | for (i = 0; i < MAX_BEARERS; i++) { | 717 | for (i = 0; i < MAX_BEARERS; i++) { | 
