Re: [PATCH 2/2] cgroup: remove a NULL check in cgroup_exit()

2013-01-24 Thread Tejun Heo
On Thu, Jan 24, 2013 at 02:43:51PM +0800, Li Zefan wrote: > init_task.cgroups is initialized at boot phase, and whenver a ask > is forked, it's cgroups pointer is inherited from its parent, and > it's never set to NULL afterwards. > > Signed-off-by: Li Zefan Applied to cgroup/for-3.9. Thanks.

[PATCH 2/2] cgroup: remove a NULL check in cgroup_exit()

2013-01-23 Thread Li Zefan
init_task.cgroups is initialized at boot phase, and whenver a ask is forked, it's cgroups pointer is inherited from its parent, and it's never set to NULL afterwards. Signed-off-by: Li Zefan --- kernel/cgroup.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/kernel/cgroup.c