On Mon, Jun 25, 2012 at 05:00:31PM +0900, MORITA Kazutaka wrote:
> 
> If we allow casting sd_node and sd_vnode to node_id outside
> socketfd_cache.c, it looks cleaner to use node_id for other prototypes
> too:

If you want to introduce the node_id please at least embedd it into
sd_node and sd_vnode and use container_of to access it in a type safe
manner.
-- 
sheepdog mailing list
[email protected]
http://lists.wpkg.org/mailman/listinfo/sheepdog

Reply via email to