commit | 8e8ba85417366afd2361e315c6ba5949d3eff56f | [log] [tgz] |
---|---|---|
author | Li Zefan <lizf@cn.fujitsu.com> | Mon Dec 29 19:39:03 2008 -0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Dec 29 19:40:45 2008 -0800 |
tree | f093eb8aedd4ca4a888ae9f867cb1b1277a12073 | |
parent | 2f068bf8711c35b98bf9a0172555b8390a762fc0 [diff] |
cls_cgroup: clean up for cgroup part - 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>