Re: [PATCH 1/7] cgroup: fix a leak when percpu_ref_init() fails

2013-07-31 Thread Tejun Heo
On Wed, Jul 31, 2013 at 04:16:28PM +0800, Li Zefan wrote: > ss->css_free() is not called when perfcpu_ref_init() fails. > > Signed-off-by: Li Zefan Applied to cgroup/for-3.11-fixes. Thanks. -- tejun -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

[PATCH 1/7] cgroup: fix a leak when percpu_ref_init() fails

2013-07-31 Thread Li Zefan
ss->css_free() is not called when perfcpu_ref_init() fails. Signed-off-by: Li Zefan --- kernel/cgroup.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kernel/cgroup.c b/kernel/cgroup.c index a64b7b8..e60eba2 100644 --- a/kernel/cgroup.c +++ b/kernel/cgroup.c @@ -4274,8

[PATCH 1/7] cgroup: fix a leak when percpu_ref_init() fails

2013-07-31 Thread Li Zefan
ss-css_free() is not called when perfcpu_ref_init() fails. Signed-off-by: Li Zefan lize...@huawei.com --- kernel/cgroup.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kernel/cgroup.c b/kernel/cgroup.c index a64b7b8..e60eba2 100644 --- a/kernel/cgroup.c +++

Re: [PATCH 1/7] cgroup: fix a leak when percpu_ref_init() fails

2013-07-31 Thread Tejun Heo
On Wed, Jul 31, 2013 at 04:16:28PM +0800, Li Zefan wrote: ss-css_free() is not called when perfcpu_ref_init() fails. Signed-off-by: Li Zefan lize...@huawei.com Applied to cgroup/for-3.11-fixes. Thanks. -- tejun -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the