aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/name_table.c
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2012-03-19 20:02:01 -0400
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2012-03-19 20:02:01 -0400
commit10ce3cc919f50c2043b41ca968b43c26a3672600 (patch)
treeea409366a5208aced495bc0516a08b81fd43222e /net/tipc/name_table.c
parent24e3e5ae1e4c2a3a32f5b1f96b4e3fd721806acd (diff)
parent5c6a7a62c130afef3d61c1dee153012231ff5cd9 (diff)
Merge branch 'next' into for-linus
Diffstat (limited to 'net/tipc/name_table.c')
-rw-r--r--net/tipc/name_table.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/net/tipc/name_table.c b/net/tipc/name_table.c
index 46e6b6c2ecc9..89eb5621ebba 100644
--- a/net/tipc/name_table.c
+++ b/net/tipc/name_table.c
@@ -251,8 +251,8 @@ static struct publication *tipc_nameseq_insert_publ(struct name_seq *nseq,
251 u32 type, u32 lower, u32 upper, 251 u32 type, u32 lower, u32 upper,
252 u32 scope, u32 node, u32 port, u32 key) 252 u32 scope, u32 node, u32 port, u32 key)
253{ 253{
254 struct subscription *s; 254 struct tipc_subscription *s;
255 struct subscription *st; 255 struct tipc_subscription *st;
256 struct publication *publ; 256 struct publication *publ;
257 struct sub_seq *sseq; 257 struct sub_seq *sseq;
258 struct name_info *info; 258 struct name_info *info;
@@ -381,7 +381,7 @@ static struct publication *tipc_nameseq_remove_publ(struct name_seq *nseq, u32 i
381 struct sub_seq *sseq = nameseq_find_subseq(nseq, inst); 381 struct sub_seq *sseq = nameseq_find_subseq(nseq, inst);
382 struct name_info *info; 382 struct name_info *info;
383 struct sub_seq *free; 383 struct sub_seq *free;
384 struct subscription *s, *st; 384 struct tipc_subscription *s, *st;
385 int removed_subseq = 0; 385 int removed_subseq = 0;
386 386
387 if (!sseq) 387 if (!sseq)
@@ -448,7 +448,8 @@ found:
448 * sequence overlapping with the requested sequence 448 * sequence overlapping with the requested sequence
449 */ 449 */
450 450
451static void tipc_nameseq_subscribe(struct name_seq *nseq, struct subscription *s) 451static void tipc_nameseq_subscribe(struct name_seq *nseq,
452 struct tipc_subscription *s)
452{ 453{
453 struct sub_seq *sseq = nseq->sseqs; 454 struct sub_seq *sseq = nseq->sseqs;
454 455
@@ -625,7 +626,7 @@ not_found:
625 */ 626 */
626 627
627int tipc_nametbl_mc_translate(u32 type, u32 lower, u32 upper, u32 limit, 628int tipc_nametbl_mc_translate(u32 type, u32 lower, u32 upper, u32 limit,
628 struct port_list *dports) 629 struct tipc_port_list *dports)
629{ 630{
630 struct name_seq *seq; 631 struct name_seq *seq;
631 struct sub_seq *sseq; 632 struct sub_seq *sseq;
@@ -739,7 +740,7 @@ int tipc_nametbl_withdraw(u32 type, u32 lower, u32 ref, u32 key)
739 * tipc_nametbl_subscribe - add a subscription object to the name table 740 * tipc_nametbl_subscribe - add a subscription object to the name table
740 */ 741 */
741 742
742void tipc_nametbl_subscribe(struct subscription *s) 743void tipc_nametbl_subscribe(struct tipc_subscription *s)
743{ 744{
744 u32 type = s->seq.type; 745 u32 type = s->seq.type;
745 struct name_seq *seq; 746 struct name_seq *seq;
@@ -763,7 +764,7 @@ void tipc_nametbl_subscribe(struct subscription *s)
763 * tipc_nametbl_unsubscribe - remove a subscription object from name table 764 * tipc_nametbl_unsubscribe - remove a subscription object from name table
764 */ 765 */
765 766
766void tipc_nametbl_unsubscribe(struct subscription *s) 767void tipc_nametbl_unsubscribe(struct tipc_subscription *s)
767{ 768{
768 struct name_seq *seq; 769 struct name_seq *seq;
769 770