]> err.no Git - linux-2.6/commit
devcgroup: make a helper to convert cgroup_subsys_state to devs_cgroup
authorPavel Emelyanov <xemul@openvz.org>
Fri, 6 Jun 2008 05:46:24 +0000 (22:46 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 6 Jun 2008 18:29:11 +0000 (11:29 -0700)
commitb66862f7663332aa1ecb3ebda4086360ddb8befc
tree8ba5a907f4bafad460cef4d6c573b9f5aae957e5
parent93b071139a956e51c98cdefd50a47981a4eb852e
devcgroup: make a helper to convert cgroup_subsys_state to devs_cgroup

This is just picking the container_of out of cgroup_to_devcgroup into a
separate function.

This new css_to_devcgroup will be used in the 2nd patch.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Acked-by: Serge Hallyn <serue@us.ibm.com>
Cc: Paul Menage <menage@google.com>
Cc: Balbir Singh <balbir@in.ibm.com>
Cc: James Morris <jmorris@namei.org>
Cc: Chris Wright <chrisw@sous-sol.org>
Cc: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
security/device_cgroup.c