tipc: introduce publication lists struct
authorAllan Stephens <allan.stephens@windriver.com>
Tue, 17 Apr 2012 21:57:52 +0000 (17:57 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Wed, 18 Apr 2012 13:36:02 +0000 (09:36 -0400)
commit3f8375fee30cbf7fb0bd67f044e3406daa16fa3e
tree677453d1143554978ce527483a468f5098f8a9ab
parent798ec84d45754403571d6387396236e877965c5a
tipc: introduce publication lists struct

There is currently a single list that is containing both cluster-scope and
zone-scope publications, and the list count is a separate free floating
variable.  Create a struct to bind the count to the list, and to pave
the way for factoring out the publications into zone/cluster/node scope.

The current "publ_root" most matches what will be the cluster scope
list, so it is named accordingly in this commit.

Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
net/tipc/name_distr.c