diff options
author | Li Zefan <lizf@cn.fujitsu.com> | 2008-12-29 19:39:03 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-29 19:40:45 -0800 |
commit | 8e8ba85417366afd2361e315c6ba5949d3eff56f (patch) | |
tree | f093eb8aedd4ca4a888ae9f867cb1b1277a12073 /kernel/seccomp.c | |
parent | 2f068bf8711c35b98bf9a0172555b8390a762fc0 (diff) | |
download | linux-8e8ba85417366afd2361e315c6ba5949d3eff56f.tar.bz2 |
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 'kernel/seccomp.c')
0 files changed, 0 insertions, 0 deletions