cls_cgroup: clean up for cgroup part
authorLi Zefan <lizf@cn.fujitsu.com>
Tue, 30 Dec 2008 03:39:03 +0000 (19:39 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 30 Dec 2008 03:40:45 +0000 (19:40 -0800)
- It's better to use container_of() instead of casting cgroup_subsys_state *
  to cgroup_cls_state *.
- Add helper function task_cls_state().
- Rename net_cls_state() to cgrp_cls_state().

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found