diff options
author | Li Zefan <lizf@cn.fujitsu.com> | 2008-12-30 04:39:03 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-30 04:40:45 +0100 |
commit | 8e8ba85417366afd2361e315c6ba5949d3eff56f (patch) | |
tree | f093eb8aedd4ca4a888ae9f867cb1b1277a12073 /net/sched/cls_rsvp.c | |
parent | cls_cgroup: fix an oops when removing a cgroup (diff) | |
download | linux-8e8ba85417366afd2361e315c6ba5949d3eff56f.tar.xz linux-8e8ba85417366afd2361e315c6ba5949d3eff56f.zip |
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>
Diffstat (limited to 'net/sched/cls_rsvp.c')
0 files changed, 0 insertions, 0 deletions