cgroup: notify ns_cgroup deprecated
authorDaniel Lezcano <[email protected]>
Wed, 27 Oct 2010 22:33:38 +0000 (15:33 -0700)
committerLinus Torvalds <[email protected]>
Thu, 28 Oct 2010 01:03:09 +0000 (18:03 -0700)
commit45531757b45cae0ce64c5aff08c2534d5a0fa3e7
treedf9651eb91e4515684e055fa9454dce009be9ab4
parentf4a2589feaef0a9b737a3e582b37ee96695bb25f
cgroup: notify ns_cgroup deprecated

The ns_cgroup will be removed very soon.  Let's warn, for this version,
ns_cgroup is deprecated.

Make ns_cgroup and clone_children exclusive.  If the clone_children is set
and the ns_cgroup is mounted, let's fail with EINVAL when the ns_cgroup
subsys is created (a printk will help the user to understand why the
creation fails).

Update the feature remove schedule file with the deprecated ns_cgroup.

Signed-off-by: Daniel Lezcano <[email protected]>
Acked-by: Paul Menage <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Documentation/feature-removal-schedule.txt
kernel/ns_cgroup.c