On 1/11/07, Balbir Singh <[EMAIL PROTECTED]> wrote: > to 0. To walk the hierarchy, I have no root now since I do not have > any task context. I was wondering if exporting the rootnode or providing > a function to export the rootnode of the mounter hierarchy will make > programming easier.
Ah - I misunderstood what you were looking for before. > > Something like > > struct container *get_root_container(struct container_subsys *ss) > { > return &rootnode[ss->hierarchy]; > } Yes, something like that sounds fine - except that it would be return &rootnode[ss->hierarchy].top_container; Paul ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ ckrm-tech mailing list https://lists.sourceforge.net/lists/listinfo/ckrm-tech